vibe.core.drivers.libasync

Driver implementation for the libasync library

Libasync is an asynchronous library completely written in D.

Members

Classes

LibasyncDirectoryWatcher
class LibasyncDirectoryWatcher
Undocumented in source.
LibasyncDriver
class LibasyncDriver

one per thread

LibasyncFileStream
class LibasyncFileStream

Writes or reads asynchronously (in another thread) for sizes > 64kb to benefit from kernel page cache in lower size operations.

LibasyncManualEvent
class LibasyncManualEvent
Undocumented in source.
LibasyncTCPConnection
class LibasyncTCPConnection
Undocumented in source.
LibasyncTCPListener
class LibasyncTCPListener
Undocumented in source.
LibasyncUDPConnection
class LibasyncUDPConnection
Undocumented in source.

Functions

_wchmod
int _wchmod(wchar* , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_wfopen
FILE* _wfopen(const(wchar)* filename, wchar* mode)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getDriverCore
DriverCore getDriverCore()
Undocumented in source. Be warned that the author may not have intended to support it.
getMainEventLoop
EventLoop getMainEventLoop()
Undocumented in source. Be warned that the author may not have intended to support it.
recycleID
void recycleID(size_t id)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

gs_availID
Array!size_t gs_availID;
Undocumented in source.
gs_maxID
size_t gs_maxID;
Undocumented in source.
gs_mutex
core.sync.mutex.Mutex gs_mutex;
Undocumented in source.

Variables

s_eventWaiters
Array!(Array!Task) s_eventWaiters;
Undocumented in source.
total_conn
int total_conn;
Undocumented in source.

See Also

vibe.core.driver = interface definition https://github.com/etcimon/libasync = Github repository

Meta

Authors

Sönke Ludwig, Etienne Cimon

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.