mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 04:50:37 -04:00
Make it more clear that NOLOCK means "I promise, no multithreading"
This commit is contained in:
parent
6fab9eef8f
commit
9444524f85
@ -450,7 +450,11 @@ enum event_method_feature {
|
|||||||
*/
|
*/
|
||||||
enum event_base_config_flag {
|
enum event_base_config_flag {
|
||||||
/** Do not allocate a lock for the event base, even if we have
|
/** Do not allocate a lock for the event base, even if we have
|
||||||
locking set up. */
|
locking set up.
|
||||||
|
|
||||||
|
Setting this option will make it unsafe and nonfunctional to call
|
||||||
|
functions on the base concurrently from multiple threads.
|
||||||
|
*/
|
||||||
EVENT_BASE_FLAG_NOLOCK = 0x01,
|
EVENT_BASE_FLAG_NOLOCK = 0x01,
|
||||||
/** Do not check the EVENT_* environment variables when configuring
|
/** Do not check the EVENT_* environment variables when configuring
|
||||||
an event_base */
|
an event_base */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user