1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/misc
Andy Green d3308df40f windows: pthreads
Add support for external pthreads lib on windows and some docs about how to do.

It can build with LWS_WITH_THREADPOOL and LWS_WITH_MINIMAL_EXAMPLES including the
pthreads-dependent ones without warnings or errors on windows platform as well with this.

pthreads_t can be anything, including a struct - not a pointer-to-a-struct
but the struct itself.  These can't be cast to a void * for printing as they can
on linux, where the base type is a pointer.

Let's fix all the usage of those to determine their own thread index in terms
of the meaning to the program rather than as a tid.
2020-04-07 14:05:21 +01:00
..
fts lws_struct sqlite3 2020-03-04 11:00:04 +00:00
lwsac client: secure streams 2020-03-04 12:17:49 +00:00
threadpool windows: pthreads 2020-04-07 14:05:21 +01:00
base64-decode.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
daemonize.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
dir.c lws_dir: uv: clean up temp loop on fail 2020-03-19 14:34:29 +00:00
diskcache.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
fsmount.c fsmount: delete session dir on mount 2020-03-05 14:12:24 +00:00
getifaddrs.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
getifaddrs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
lejp.c lejp: fix warnings on windows 2019-10-23 06:36:11 +01:00
lws-ring.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
lws-struct-lejp.c ss: windows build adaptations 2020-04-06 20:25:06 +01:00
lws-struct-sqlite.c lws_struct: sqlite: order defaults to _lws_idx but may be overridden 2020-03-20 19:44:10 +00:00
peer-limits.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
romfs.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
romfs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
sha-1.c clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
spawn.c threadpool: allow multiple threadpool tasks to bind to same wsi 2020-04-04 10:47:11 +01:00