1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
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
..
abstract cleaning 2020-01-05 22:17:58 +00:00
core ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
core-net vhost: Fix unused var warning with some SOCKS5 2020-04-06 17:40:19 +01:00
event-libs glib: osx: brew symlink workaround 2020-03-24 12:31:02 +00:00
jose jose: copy typ into jose object without testing for JWT 2020-03-04 11:00:04 +00:00
misc windows: pthreads 2020-04-07 14:05:21 +01:00
plat windows: ipv6 compile fix 2020-04-07 10:09:00 +01:00
roles h2: take care to retain initial sid 2020-04-06 13:22:01 +01:00
secure-streams ss: windows build adaptations 2020-04-06 20:25:06 +01:00
system client: secure streams 2020-03-04 12:17:49 +00:00
tls mbedtls: remove mbedtls_x509_crt_info reference 2020-03-31 11:36:47 +01:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries