summaryrefslogtreecommitdiff
path: root/tests/mutex2.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-01-18 23:50:07 +0000
committerrpj <rpj>1999-01-18 23:50:07 +0000
commit20f77eda55f874b939719ac0abda4405ecd20bf8 (patch)
treee81393914f1a89d055b2384cc1c612d48c4a2a2c /tests/mutex2.c
parent9b75468a10363ada39a17563cca6bcd819ec8fcd (diff)
Tue Jan 19 18:27:42 1999 Ross Johnson <rpj@swan.canberra.edu.au>
* pthread.h (pthreadCancelableTimedWait): New prototype. (pthreadCancelableWait): Remove second argument. * misc.c (CancelableWait): New static function is pthreadCancelableWait() renamed. (pthreadCancelableWait): Now just calls CancelableWait() with INFINITE timeout. (pthreadCancelableTimedWait): Just calls CancelableWait() with passed in timeout. * private.c (_pthread_sem_timedwait): 'abstime' arg really is absolute time. Calculate relative time to wait from current time before passing timeout to new routine pthreadCancelableTimedWait(). - Scott Lightner <scott@curriculum.com>
Diffstat (limited to 'tests/mutex2.c')
0 files changed, 0 insertions, 0 deletions