mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-07 17:42:30 +08:00
Prevent repeated invocation of Clubby handler
PUBLISHED_FROM=de348f944de60d116d9d1f5d18e920991c811fa8
This commit is contained in:
parent
e91a7c9599
commit
cbe63d43df
@ -34,7 +34,7 @@ items:
|
|||||||
|
|
||||||
NOTE: Mongoose manager is single threaded. It does not protect
|
NOTE: Mongoose manager is single threaded. It does not protect
|
||||||
its data structures by mutexes, therefore all functions that are dealing
|
its data structures by mutexes, therefore all functions that are dealing
|
||||||
with particular event manager should be called from the same thread,
|
with a particular event manager should be called from the same thread,
|
||||||
with exception of `mg_broadcast()` function. It is fine to have different
|
with exception of the `mg_broadcast()` function. It is fine to have different
|
||||||
event managers handled by different threads.
|
event managers handled by different threads.
|
||||||
|
|
||||||
|
@ -6,6 +6,6 @@ signature: |
|
|||||||
typedef void (*mg_event_handler_t)(struct mg_connection *, int ev, void *);
|
typedef void (*mg_event_handler_t)(struct mg_connection *, int ev, void *);
|
||||||
---
|
---
|
||||||
|
|
||||||
Callback function (event handler) prototype, must be defined by user.
|
Callback function (event handler) prototype. Must be defined by the user.
|
||||||
Mongoose calls event handler, passing events defined below.
|
Mongoose calls the event handler, passing events defined below.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user