From 138c8523f91cc95089ec380fc8b56eca6519949f Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 8 Sep 2017 16:54:48 +0800 Subject: [PATCH] docs: add missing description of tsi on lws_service_tsi Fixes https://github.com/warmcat/libwebsockets/issues/1017 --- lib/libwebsockets.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index 9b7b33d5..857a8b7e 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -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.