Move Posix event loop implementations to their own package.

This commit is contained in:
Sönke Ludwig 2020-05-19 10:10:15 +02:00
parent 751091a2bd
commit 2f03f8dd42
4 changed files with 6 additions and 6 deletions

View file

@ -2,9 +2,9 @@ module eventcore.core;
public import eventcore.driver; public import eventcore.driver;
import eventcore.drivers.posix.select; import eventcore.drivers.posix.loop.select;
import eventcore.drivers.posix.epoll; import eventcore.drivers.posix.loop.epoll;
import eventcore.drivers.posix.kqueue; import eventcore.drivers.posix.loop.kqueue;
import eventcore.drivers.libasync; import eventcore.drivers.libasync;
import eventcore.drivers.winapi.driver; import eventcore.drivers.winapi.driver;
import eventcore.internal.utils : mallocT, freeT; import eventcore.internal.utils : mallocT, freeT;

View file

@ -4,7 +4,7 @@
Epoll is an efficient API for asynchronous I/O on Linux, suitable for large Epoll is an efficient API for asynchronous I/O on Linux, suitable for large
numbers of concurrently open sockets. numbers of concurrently open sockets.
*/ */
module eventcore.drivers.posix.epoll; module eventcore.drivers.posix.loop.epoll;
@safe @nogc nothrow: @safe @nogc nothrow:
version (linux): version (linux):

View file

@ -4,7 +4,7 @@
Kqueue is an efficient API for asynchronous I/O on BSD flavors, including Kqueue is an efficient API for asynchronous I/O on BSD flavors, including
OS X/macOS, suitable for large numbers of concurrently open sockets. 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: @safe: /*@nogc:*/ nothrow:
version (FreeBSD) enum have_kqueue = true; version (FreeBSD) enum have_kqueue = true;

View file

@ -5,7 +5,7 @@
Windows. It has a good performance for small numbers of cuncurrently open Windows. It has a good performance for small numbers of cuncurrently open
files/sockets, but is not suited for larger amounts. files/sockets, but is not suited for larger amounts.
*/ */
module eventcore.drivers.posix.select; module eventcore.drivers.posix.loop.select;
@safe: /*@nogc:*/ nothrow: @safe: /*@nogc:*/ nothrow:
public import eventcore.drivers.posix.driver; public import eventcore.drivers.posix.driver;