docs: add missing description of tsi on lws_service_tsi
Fixes https://github.com/warmcat/libwebsockets/issues/1017
This commit is contained in:
parent
3ea4fcf8a5
commit
138c8523f9
1 changed files with 2 additions and 1 deletions
|
@ -2817,12 +2817,13 @@ LWS_VISIBLE LWS_EXTERN int
|
|||
lws_service(struct lws_context *context, int timeout_ms);
|
||||
|
||||
/**
|
||||
* lws_service() - Service any pending websocket activity
|
||||
* lws_service_tsi() - Service any pending websocket activity
|
||||
*
|
||||
* \param context: Websocket context
|
||||
* \param timeout_ms: Timeout for poll; 0 means return immediately if nothing needed
|
||||
* service otherwise block and service immediately, returning
|
||||
* after the timeout if nothing needed service.
|
||||
* \param tsi: Thread service index, starting at 0
|
||||
*
|
||||
* Same as lws_service(), but for a specific thread service index. Only needed
|
||||
* if you are spawning multiple service threads.
|
||||
|
|
Loading…
Add table
Reference in a new issue