1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/plat/esp32
Andy Green cfeb196479 client: SMP: associate client with tsi of thread creating client connection
1) This moves the service tid detection stuff from context to pt.

2) If LWS_MAX_SMP > 1, a default pthread tid detection callback is provided
   on the dummy callback.  Callback handlers that call through to the dummy
   handler will inherit this.  It provides an int truncation of the pthread
   tid.

3) If there has been any service calls on the service threads, the pts now
   know the low sizeof(int) bytes of their tid.  When you ask for a client
   connection to be created, it looks through the pts to see if the calling
   thread is a pt service thread.  If so, the new client is set to use the
   same pt as the caller.
2018-08-14 08:00:30 +08:00
..
esp32-fds.c plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
esp32-file.c fd_cloexec: add and use lws_open wrapper and lws_plat_apply_FD_CLOEXEC() on cgi 2018-06-23 12:56:21 +08:00
esp32-helpers.c plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
esp32-init.c plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
esp32-misc.c plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
esp32-pipe.c plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
esp32-service.c client: SMP: associate client with tsi of thread creating client connection 2018-08-14 08:00:30 +08:00
esp32-sockets.c Fixes to track updates in esp-idf 2018-06-20 16:41:28 +08:00
private.h plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00