freebsd-ports/security/bioapi/files/patch-framework-port-portmutx.c
Pav Lucistnik 15284a2fe6 BioAPI (Biometric Application Programming Interface) brings platform and device
independence to application programmers and biometric service providers.

PR:		ports/91734
Submitted by:	Fredrik Lindberg <fli@shapeshifter.se>
2006-01-15 09:29:14 +00:00

18 lines
497 B
C

--- framework/port/portmutx.c Wed Jun 8 02:51:05 2005
+++ framework/port/portmutx.c Thu Jan 12 11:45:43 2006
@@ -122,6 +122,7 @@
* WIN32 mutexes are recursive, so match that behavior.
*/
+#if 0
if ((status = pthread_mutexattr_settype(&attr,
#if defined (LINUX)
PTHREAD_MUTEX_RECURSIVE_NP)))
@@ -132,6 +133,7 @@
(void) pthread_mutexattr_destroy(&attr);
goto cleanup;
}
+#endif
if ((status = pthread_mutex_init(*mhandle, &attr)))
{