cvs commit: src/lib/libthr/thread thr_kern.c thr_mutex.c
thr_private.h
Mike Makonnen
mtm at FreeBSD.org
Tue Dec 30 00:34:58 PST 2003
mtm 2003/12/30 00:34:57 PST
FreeBSD src repository
Modified files:
lib/libthr/thread thr_kern.c thr_mutex.c thr_private.h
Log:
Make it possible for the library to specify a timeout value when
waiting on a locked mutex. This involves passing a struct timespec
from the pthread mutex locking interfaces all the way down to the
function that suspends the thread until the mutex is released.
The timeout is assumed to be an absolute time (i.e. not relative to
the current time).
Also, in _thread_suspend() make the passed in timespec const.
Revision Changes Path
1.16 +1 -1 src/lib/libthr/thread/thr_kern.c
1.19 +47 -20 src/lib/libthr/thread/thr_mutex.c
1.28 +1 -1 src/lib/libthr/thread/thr_private.h
More information about the cvs-src
mailing list