OpenVisualCloud / SVT-HEVC

SVT HEVC encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-HEVC encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
518 stars 170 forks source link

fix the hang caused by pthread_cancel #564

Open lijing0010 opened 4 years ago

lijing0010 commented 4 years ago

Signed-off-by: Jing Li jing.b.li@intel.com

Description

pthread_cancel is an async call, need to join() before next move, otherwise it may crash.

Issue

If init/deinit for about 150 times with default input parameter, will crash at set_thread_affinity()

Author(s)

Performance impact

Merge method

1480c1 commented 4 years ago

@lijing0010 you need to put an x in between one of the boxes at the bottom

tianjunwork commented 4 years ago

Hi @lijing0010 , before we remove setting thread priority code, how about making this clean up first? Could you review? Thank you.