Date: Mon, 18 Dec 2006 17:08:07 +0000 (UTC) From: Peter Edwards <peadar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/thread thr_kern.c Message-ID: <200612181708.kBIH878N090642@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peadar 2006-12-18 17:08:07 UTC FreeBSD src repository Modified files: lib/libpthread/thread thr_kern.c Log: Clean bound and non-bound pthread structures consistently before they become candidates for reuse. Without this fix, some of the state from a thread structure's previous incarnation could interfere with its new one. Specifically, a non-bound thread started as "suspended" (see pthread_attr_setcreatesuspend_np()) might not get scheduled at all when resumed, as the "active" flag would be set spuriously. Reviewed by: deischen@, davidxu@ MFC after: 1 week Revision Changes Path 1.122 +5 -4 src/lib/libpthread/thread/thr_kern.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612181708.kBIH878N090642>