Dasynq — the event-loop library

This is the web page for the Dasynq event loop library.

Version 1.1.4 now available. Includes documentation updates.

What is it?


Dasynq is an event loop library similar to libevent, libev and libuv.

Like other such libraries, it is crossplatform / portable. Unlike most other such libraries, it is intended to be completely usable in a multi-threaded client program, and it is written in C++; furthermore the API is designed to allow the creation of extremely robust clients. For more details, see this blog post.

Dasynq works on Linux, OpenBSD, FreeBSD and MacOS, and it should be easily portable to other POSIX-like operating systems. It is available under the Apache License, version 2.0.

How do I use it?


Read the quick usage guide [Github] for an overview of the API, or take a look at the reference manual for the full low-down.

Installation is simple. Dasynq is a header-only library, so you can just copy it into your application and include the <dasynq.h> header. Or, install it using the Makefile (see instructions [Github]).

Who wrote it?


Dasynq is the creation of Davin McCall, who you can contact via email at davmac@davmac.org, or as @davmac314 on Twitter.