I am pleased to announce the 0.1.0 release of libucontext, a library
which implements the ucontext.h functions (getcontext, setcontext,
makecontext and swapcontext), originally meant for use with gcompat,
but also useful for applications requiring the functions outside of
gcompat (such as when building against musl directly).
Implementation completeness varies based on each architecture, with
the goal of having complete implementations across all presently
supported architectures in the next release, but, it should be noted
that for the most part the implementations provide workable behaviour
in real-world apps right now. In other words, it's what you would
expect for a 0.1.0 release.
To use these functions, you just link to `-lucontext`, meaning you
could provide them in $LIBS when running configure scripts and have
everything most likely work out nicely.
Building should hopefully be straightforward too.
For Alpine and Adelie distributions, this package is available as
libucontext in the testing repository.
It is looking like we are on track to release gcompat version 0.2.0 at
the same time as Adélie 1.0-ALPHA5: Wednesday, 14 February 2018.
Any last-minute changes should be tested and committed, or wait for
release 0.3.0 with ALPHA6.
A. Wilcox (awilfox)
Project Lead, Adélie Linux