cvs commit: src/lib/libthr/thread thr_join.c

Mike Makonnen mtm at FreeBSD.org
Sun May 25 17:28:50 PDT 2003


mtm         2003/05/25 17:28:49 PDT

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_join.c 
  Log:
  Revise the unlock order in _pthread_join(). Also, if the joined
  thread is not dead, the join loop is guaranteed to execute at least
  once, so there is no need to pick up the thread list lock after
  we return from suspenstion only to release it after the loop.
  
  Approved by:    re/blanket libthr
  
  Revision  Changes    Path
  1.6       +6 -12     src/lib/libthr/thread/thr_join.c


More information about the cvs-src mailing list