mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-02 22:42:52 +07:00
Better handling of MONGOOSE_NO_SOCKETPAIR
This commit is contained in:
+2
-2
@@ -129,8 +129,8 @@ is returned.
|
||||
void *param);
|
||||
|
||||
This is an interface primarily designed to push arbitrary data to websocket
|
||||
connections at any time. This function could be called from any thread. When
|
||||
it returns, an IO thread called `func()` on each active connection,
|
||||
connections at any time. This function could be called from the IO thread only.
|
||||
When it returns, an IO thread calls `func()` on each active connection,
|
||||
passing `param` as an extra parameter. It is allowed to call `mg_send_data()` or
|
||||
`mg_websocket_write()` within a callback, cause `func` is executed in the
|
||||
context of the IO thread.
|
||||
|
||||
Reference in New Issue
Block a user