Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2006 13:51:22 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200601051351.k05DpMjX010579@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601051351.k05DpMjX010579>