From b41f74438672dd682bc01ae818cb3da654f22c1e Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 13 Feb 2013 10:41:10 +0100 Subject: Updated to latest CVS version of pthreads --- pthreads/tests/mutex6n.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'pthreads/tests/mutex6n.c') diff --git a/pthreads/tests/mutex6n.c b/pthreads/tests/mutex6n.c index 9cb309c2c..cf3581169 100644 --- a/pthreads/tests/mutex6n.c +++ b/pthreads/tests/mutex6n.c @@ -6,10 +6,11 @@ * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom - * Copyright(C) 1999,2005 Pthreads-win32 contributors - * - * Contact Email: rpj@callisto.canberra.edu.au - * + * Copyright(C) 1999,2012 Pthreads-win32 contributors + * + * Homepage1: http://sourceware.org/pthreads-win32/ + * Homepage2: http://sourceforge.net/projects/pthreads4w/ + * * The current list of contributors is contained * in the file CONTRIBUTORS included with the source * code distribution. The list can also be seen at the @@ -91,17 +92,14 @@ main() assert(lockCount == 1); - assert(pthread_mutex_unlock(&mutex) == IS_ROBUST?EPERM:0); + assert(pthread_mutex_unlock(&mutex) == (IS_ROBUST?EPERM:0)); Sleep (100); - assert(lockCount == IS_ROBUST?1:2); + assert(lockCount == (IS_ROBUST?1:2)); END_MUTEX_STALLED_ROBUST(mxAttr) - exit(0); - - /* Never reached */ return 0; } -- cgit v1.2.3