Better handling of MONGOOSE_NO_SOCKETPAIR

This commit is contained in:
Sergey Lyubka committed 2014-02-04 14:04:54 +00:00
1 parent e70d98b7b0
commit a34d1ec00a
2 files changed
+20 -25

No files matched your search

+2 -2
View File
@@ -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.