Skip to content

Commit

Permalink
Up version to 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
davmac314 committed Sep 6, 2021
1 parent 00c495d commit fa2b2f5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
HEADERDIR=/usr/include
LIBDIR=/usr/lib

VERSION=1.2.1
VERSION=1.2.2
VERSION_MAJOR=1

export CXX CXXOPTS CXXLINKOPTS CXXTESTOPTS CXXTESTLINKOPTS THREADOPT SANITIZE
Expand Down
11 changes: 11 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Dasynq version 1.2.2:
--------------------

This version includes a fix for a crash/memory leak that could happen when memory was (already) exhausted.

It also uses a new directory structure. This should not affect any existing users. However it is now
possible to install Dasynq so the main header, dasynq.h, can be included without requiring any additional
compiler flags (i.e. by installing it directly in /usr/include). The ancillary headers are now installed
into a subdirectory relative to the main header.


Dasynq version 1.2.1:
--------------------

Expand Down
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dasynq

_Version 1.2.1_
_Version 1.2.2_

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
Expand All @@ -11,8 +11,8 @@ require the use of threads (and so does not require linking against a thread lib

The existing backends include **epoll** and **kqueue**, meaning that it works on Linux and various
BSDs (at least OpenBSD and FreeBSD) as well as Mac OS X ("macOS" as it is now called). There is also
a less efficient backend based on **pselect**, meaning that it should also work on nearly all other
POSIX-compliant systems (with minor caveats).
a less efficient backend based on **pselect**, and an even less efficient backend based on **select*,
meaning that it should also work on nearly all other POSIX-compliant systems (with minor caveats).

Dasynq is distributed under the terms of the Apache License, version 2.0, as found in the LICENSE file.

Expand Down Expand Up @@ -58,7 +58,10 @@ See [doc/USAGE.md](doc/USAGE.md) for a quick guide on how to use the Dasynq API.
can be found in the [doc/html](doc/html) folder of the repository / source bundle, or
[online](https://davmac.org/projects/dasynq/doc/).

GNU make is required to run the test suite / automated install.
GNU make is required to run the test suite / automated install, or you can try the contributed meson-based
build.

To build with GNU make:

Find or create an appropriate makefile in the `makefiles` directory and edit it to your liking.
Either copy/link it to "Makefile" in the root of the source tree, or supply it via the `-f` argument to
Expand All @@ -75,7 +78,8 @@ On OpenBSD, you must install "eg++" or llvm; the g++ from the base system is too
Linux, OpenBSD, FreeBSD and MacOS are supported "out of the box". For other systems you may need to edit
the `dasynq-config.h` file (see instructions within). For full functionality either epoll or kqueue are
required; in many BSD variants it may be possible to build by defining `DASYNQ_HAVE_KQUEUE` to `1`. If
epoll and kqueue are not available, Dasynq will fall back to using a `select`-based backend.
epoll and kqueue are not available, Dasynq will fall back to using a `pselect`-based backend (or a plain
`select`-based backend on some systems which don't have `pselect`).

After installation, you can use "pkg-config" to find the appropriate flags to compile against Dasynq,
assuming you have pkg-config installed:
Expand Down

0 comments on commit fa2b2f5

Please sign in to comment.