mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-07 17:42:30 +08:00
Use select() by default everywhere
PUBLISHED_FROM=474789b0d7f5076434e5c15c079306243f3a8d81
This commit is contained in:
parent
22f8d86b05
commit
93beff3b65
@ -44,10 +44,12 @@
|
||||
#define MG_INTERNAL static
|
||||
#endif
|
||||
|
||||
#if !defined(MG_MGR_EV_MGR) && defined(__linux__)
|
||||
#define MG_MGR_EV_MGR 1 /* epoll() */
|
||||
#endif
|
||||
#if !defined(MG_MGR_EV_MGR)
|
||||
/*
|
||||
* Switches between different methods of handling sockets. Supported values:
|
||||
* 0 - select()
|
||||
* 1 - epoll() (Linux only)
|
||||
*/
|
||||
#define MG_MGR_EV_MGR 0 /* select() */
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user