mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-04 16:08:31 +00:00
OpenBSD third try
This commit is contained in:
@@ -11,6 +11,9 @@ extern int sharedareasize ;
|
||||
#ifndef __OpenBSD__
|
||||
#define LOCK_SHAREDAREA pthread_mutex_lock((pthread_mutex_t *) sharedareamutex + sizeof(pthread_mutexattr_t));
|
||||
#define UNLOCK_SHAREDAREA pthread_mutex_unlock((pthread_mutex_t *) sharedareamutex + sizeof(pthread_mutexattr_t));
|
||||
#else
|
||||
#define LOCK_SHAREDAREA
|
||||
#define UNLOCK_SHAREDAREA
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user