I made a mistake in the comment.
Main thread is the writer.
So instead, it should be:
This fixes this deadlock/race condition:
1. busy threads run until main thread exits
2. main thread is writing samples results into
files and waits for a filesystem global lock to be released
4. sync threads (kjournald, pdflush) with non-rt prio hold
the above mentioned lock and cannot finish their job because
cpu is hogged by busy threads.
Gilles.
Gilles Carry wrote:
> This flag is set by timer_thread when the sampling is finished.
> This fixes this deadlock/race condition:
> 1. busy threads run until main thread exits
> 2. main thread waits for timer_thread to finish
> 3. timer_thread is writing samples results into
> files and waits for a filesystem global lock to be released
> 4. sync threads (kjournald, pdflush) with non-rt prio hold
> the above mentioned lock and cannot finish their job because
> cpu is hogged by busy threads.
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list