[FFmpeg-devel] [PATCH] ffmpeg: make reading packets from thread blocking.
michaelni at gmx.at
Wed Oct 30 15:35:37 CET 2013
On Wed, Oct 30, 2013 at 02:44:52PM +0100, Nicolas George wrote:
> Le nonidi 9 brumaire, an CCXXII, Michael Niedermayer a écrit :
> > this code deadlocked 1 out of 2 make -j12 fate
> I did not manage to reproduce it even once. With how many cores /
> hyperthreads does it happen?
6 physical cores 12 logical ones
> Do you happen to remember the test(s) that got
sadly not but i could reproduce it here again stuck in
but even running that 100 times shows no deadlock, seems it happens
only in a full fate run for me
also from looking at the code i see that finished could get set
while the other thread is waiting, i didnt check if that would deadlock
also iam not sure that fifo_cond should be reused
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel