Date: Thu, 23 May 2002 21:32:28 -0700 (PDT) From: Daniel Eischen <deischen@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_cancel.c uthread_cond.c uthread_exit.c uthread_init.c uthread_multi_np.c uthread_mutex.c uthread_priority_queue.c uthread_resume_np.c uthread_sig.c uthread_single_np.c uthread_spinlock.c ... Message-ID: <200205240432.g4O4WTc77716@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
deischen 2002/05/23 21:32:28 PDT
Modified files:
lib/libc_r/uthread pthread_private.h uthread_cancel.c
uthread_cond.c uthread_exit.c
uthread_init.c uthread_multi_np.c
uthread_mutex.c uthread_priority_queue.c
uthread_resume_np.c uthread_sig.c
uthread_single_np.c uthread_spinlock.c
uthread_suspend_np.c
Log:
Revamp suspend and resume. While I'm here add pthread_suspend_all_np()
and pthread_resume_all_np(). These suspend and resume all threads except
the current thread, respectively. The existing functions pthread_single_np()
and pthread_multi_np(), which formerly had no effect, now exhibit the same
behaviour and pthread_suspend_all_np() and pthread_resume_all_np(). These
functions have been added mostly for the native java port.
Don't allow the uthread kernel pipe to use the same descriptors as
stdio. Mostily submitted by Oswald Buddenhagen <ossi@kde.org>.
Correct some minor style nits.
Revision Changes Path
1.71 +4 -27 src/lib/libc_r/uthread/pthread_private.h
1.14 +1 -15 src/lib/libc_r/uthread/uthread_cancel.c
1.33 +5 -17 src/lib/libc_r/uthread/uthread_cond.c
1.26 +2 -16 src/lib/libc_r/uthread/uthread_exit.c
1.41 +21 -7 src/lib/libc_r/uthread/uthread_init.c
1.7 +9 -5 src/lib/libc_r/uthread/uthread_multi_np.c
1.31 +10 -42 src/lib/libc_r/uthread/uthread_mutex.c
1.8 +64 -31 src/lib/libc_r/uthread/uthread_priority_queue.c
1.13 +64 -49 src/lib/libc_r/uthread/uthread_resume_np.c
1.41 +12 -4 src/lib/libc_r/uthread/uthread_sig.c
1.6 +8 -6 src/lib/libc_r/uthread/uthread_single_np.c
1.11 +1 -1 src/lib/libc_r/uthread/uthread_spinlock.c
1.14 +38 -95 src/lib/libc_r/uthread/uthread_suspend_np.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205240432.g4O4WTc77716>
