Move Posix event loop implementations to their own package.
This commit is contained in:
parent
751091a2bd
commit
2f03f8dd42
|
@ -2,9 +2,9 @@ module eventcore.core;
|
|||
|
||||
public import eventcore.driver;
|
||||
|
||||
import eventcore.drivers.posix.select;
|
||||
import eventcore.drivers.posix.epoll;
|
||||
import eventcore.drivers.posix.kqueue;
|
||||
import eventcore.drivers.posix.loop.select;
|
||||
import eventcore.drivers.posix.loop.epoll;
|
||||
import eventcore.drivers.posix.loop.kqueue;
|
||||
import eventcore.drivers.libasync;
|
||||
import eventcore.drivers.winapi.driver;
|
||||
import eventcore.internal.utils : mallocT, freeT;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
Epoll is an efficient API for asynchronous I/O on Linux, suitable for large
|
||||
numbers of concurrently open sockets.
|
||||
*/
|
||||
module eventcore.drivers.posix.epoll;
|
||||
module eventcore.drivers.posix.loop.epoll;
|
||||
@safe @nogc nothrow:
|
||||
|
||||
version (linux):
|
|
@ -4,7 +4,7 @@
|
|||
Kqueue is an efficient API for asynchronous I/O on BSD flavors, including
|
||||
OS X/macOS, suitable for large numbers of concurrently open sockets.
|
||||
*/
|
||||
module eventcore.drivers.posix.kqueue;
|
||||
module eventcore.drivers.posix.loop.kqueue;
|
||||
@safe: /*@nogc:*/ nothrow:
|
||||
|
||||
version (FreeBSD) enum have_kqueue = true;
|
|
@ -5,7 +5,7 @@
|
|||
Windows. It has a good performance for small numbers of cuncurrently open
|
||||
files/sockets, but is not suited for larger amounts.
|
||||
*/
|
||||
module eventcore.drivers.posix.select;
|
||||
module eventcore.drivers.posix.loop.select;
|
||||
@safe: /*@nogc:*/ nothrow:
|
||||
|
||||
public import eventcore.drivers.posix.driver;
|
Loading…
Reference in a new issue