1
0
Fork 0
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:
Andy Green 2018-03-06 06:37:56 +08:00
parent 0d5ca2d87b
commit 4d36bc1f46

View file

@ -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