/[base]
ViewVC logotype

Revision 299114


Jump to revision: Previous Next
Author: kib
Date: Thu May 5 10:20:22 2016 UTC (8 years, 2 months ago)
Changed paths: 2
Log Message:
Do not leak THR_FLAGS_SUSPENDED from the previous suspend/resume
cycle.  The flag currently is cleared by the resumed thread.  If next
suspend request comes before the thread was able to clean the flag, in
which case suspender skip the thread.

Instead, clear the THR_FLAGS_SUSPEND flag in resume_common(), we do
not care how much code was executed in the resumed thread when the
pthread_resume_*np(s) functions returned.

PR:	209233
Reported by:	Lawrence Esswood <le277@cam.ac.uk>
MFC after:	1 week


Changed paths

Path Details
Directoryhead/lib/libthr/thread/thr_resume_np.c modified , text changed
Directoryhead/lib/libthr/thread/thr_sig.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27