Move loop modules back to the posix package to work around compiler errors.
Older DMD frontend versions don't handle "package" protection within derived classes correctly.
This commit is contained in:
parent
0cdfe793af
commit
49b2aff0c2
|
@ -2,10 +2,10 @@ module eventcore.core;
|
||||||
|
|
||||||
public import eventcore.driver;
|
public import eventcore.driver;
|
||||||
|
|
||||||
import eventcore.drivers.posix.loop.cfrunloop;
|
import eventcore.drivers.posix.cfrunloop;
|
||||||
import eventcore.drivers.posix.loop.epoll;
|
import eventcore.drivers.posix.epoll;
|
||||||
import eventcore.drivers.posix.loop.kqueue;
|
import eventcore.drivers.posix.kqueue;
|
||||||
import eventcore.drivers.posix.loop.select;
|
import eventcore.drivers.posix.select;
|
||||||
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;
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
/**
|
/**
|
||||||
`CFRunLoop` based event loop for macOS UI compatible operation.
|
`CFRunLoop` based event loop for macOS UI compatible operation.
|
||||||
*/
|
*/
|
||||||
module eventcore.drivers.posix.loop.cfrunloop;
|
module eventcore.drivers.posix.cfrunloop;
|
||||||
@safe: /*@nogc:*/ nothrow:
|
@safe: /*@nogc:*/ nothrow:
|
||||||
|
|
||||||
version (EventcoreCFRunLoopDriver):
|
version (EventcoreCFRunLoopDriver):
|
||||||
|
|
||||||
import eventcore.drivers.posix.loop.kqueue;
|
import eventcore.drivers.posix.kqueue;
|
||||||
import eventcore.internal.corefoundation;
|
import eventcore.internal.corefoundation;
|
||||||
import eventcore.internal.utils;
|
import eventcore.internal.utils;
|
||||||
import core.time;
|
import core.time;
|
|
@ -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.loop.epoll;
|
module eventcore.drivers.posix.epoll;
|
||||||
@safe @nogc nothrow:
|
@safe @nogc nothrow:
|
||||||
|
|
||||||
version (linux):
|
version (linux):
|
|
@ -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.loop.kqueue;
|
module eventcore.drivers.posix.kqueue;
|
||||||
@safe: /*@nogc:*/ nothrow:
|
@safe: /*@nogc:*/ nothrow:
|
||||||
|
|
||||||
version (FreeBSD) enum have_kqueue = true;
|
version (FreeBSD) enum have_kqueue = true;
|
|
@ -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.loop.select;
|
module eventcore.drivers.posix.select;
|
||||||
@safe: /*@nogc:*/ nothrow:
|
@safe: /*@nogc:*/ nothrow:
|
||||||
|
|
||||||
public import eventcore.drivers.posix.driver;
|
public import eventcore.drivers.posix.driver;
|
Loading…
Reference in a new issue