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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to