cvs commit: src/lib/libthr/thread thr_create.c thr_exit.c thr_list.c thr_private.h thr_resume_np.c thr_sig.c thr_suspend_np.c

David Xu davidxu at FreeBSD.org
Thu Jan 5 05:51:29 PST 2006


davidxu     2006-01-05 13:51:22 UTC

  FreeBSD src repository

  Modified files:
    lib/libthr/thread    thr_create.c thr_exit.c thr_list.c 
                         thr_private.h thr_resume_np.c thr_sig.c 
                         thr_suspend_np.c 
  Log:
  Refine thread suspension code, now thread suspension is a blockable
  operation, the caller is blocked util target threads are really
  suspended, also avoid suspending a thread when it is holding a
  critical lock.
  Fix a bug in _thr_ref_delete which tests a never set flag.
  
  Revision  Changes    Path
  1.26      +53 -29    src/lib/libthr/thread/thr_create.c
  1.20      +8 -1      src/lib/libthr/thread/thr_exit.c
  1.5       +10 -7     src/lib/libthr/thread/thr_list.c
  1.52      +16 -3     src/lib/libthr/thread/thr_private.h
  1.9       +0 -1      src/lib/libthr/thread/thr_resume_np.c
  1.15      +50 -17    src/lib/libthr/thread/thr_sig.c
  1.4       +40 -10    src/lib/libthr/thread/thr_suspend_np.c


More information about the cvs-all mailing list