Date: Tue, 30 Dec 2003 08:34:58 -0000 From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/thread thr_kern.c thr_mutex.c thr_private.h Message-ID: <200312300834.hBU8YvnQ065340@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312300834.hBU8YvnQ065340>