mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
smp: include pthreads with LWS_MAX_SMP gt 1
This commit is contained in:
parent
0d5ca2d87b
commit
4d36bc1f46
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,8 @@ typedef unsigned long long lws_intptr_t;
|
|||
|
||||
#if LWS_MAX_SMP > 1
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#define lws_pthread_mutex(name) pthread_mutex_t name;
|
||||
|
||||
static LWS_INLINE void
|
||||
|
|
Loading…
Add table
Reference in a new issue