[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r146 - GNUnet/src/util
From: |
grothoff |
Subject: |
[GNUnet-SVN] r146 - GNUnet/src/util |
Date: |
Tue, 1 Feb 2005 03:01:50 -0800 (PST) |
Author: grothoff
Date: 2005-02-01 03:01:50 -0800 (Tue, 01 Feb 2005)
New Revision: 146
Modified:
GNUnet/src/util/semaphore.c
Log:
more along the lines of #811
Modified: GNUnet/src/util/semaphore.c
===================================================================
--- GNUnet/src/util/semaphore.c 2005-02-01 10:56:21 UTC (rev 145)
+++ GNUnet/src/util/semaphore.c 2005-02-01 11:01:50 UTC (rev 146)
@@ -126,18 +126,14 @@
GNUNET_ASSERT(0 == pthread_mutexattr_setkind_np
(&attr,
PTHREAD_MUTEX_RECURSIVE_NP));
-#elif SOMEBSD || FREEBSD
+#elif SOMEBSD || FREEBSD || FREEBSD5
GNUNET_ASSERT(0 == pthread_mutexattr_setkind_np
(&attr,
PTHREAD_MUTEX_RECURSIVE));
-#elif SOLARIS || OSX
+#elif SOLARIS || OSX || WINDOWS
GNUNET_ASSERT(0 == pthread_mutexattr_settype
(&attr,
PTHREAD_MUTEX_RECURSIVE));
-#elif WINDOWS
- GNUNET_ASSERT(0 == pthread_mutexattr_settype
- (&attr,
- PTHREAD_MUTEX_RECURSIVE));
#endif
mut = MALLOC(sizeof(pthread_mutex_t));
mutex->internal = mut;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r146 - GNUnet/src/util,
grothoff <=