1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Subject: docs: fix typo

This commit is contained in:
Glen Mabey 2025-02-25 20:34:53 -07:00 committed by Andy Green
parent b71445eb43
commit 216af745e3

View file

@ -190,7 +190,7 @@ a UDP socket pair that the event loop waits on. When the wake is handled by the
lws event loop thread, it will broadcast a `LWS_CALLBACK_EVENT_WAIT_CANCELLED`
message to every vhost-protocol instantiation, so you can handle this callback,
usually lock a shared data region, and if you see you need to write, call
`lws_callback_on_writeable()` for the wsi(s) that need to write.
`lws_callback_on_writable()` for the wsi(s) that need to write.
There's no restriction on multiple threads calling `lws_cancel_service()`, it's
unconditionally safe due to how it is implemented underneath.