redpig.dataspill.org: Another user-level threading library

»An old stab at a POSIX-compatible, user-level threading library. When I was at university, I was challenged to write a full-fledged, POSIX-compatible, threading library. Motivated by an assignment to write a threading library using the friendly BSD functions from ucontext.h, I opted for the more interesting problem. This resulted in wth. The library is fully functional and is compatible with POSIX 1003.1-2001 based operating systems. Feel free to try it out and send me feedback. If you're serious about using, I'd suggest breaking POSIX compliance and switching from sleep and SIGALRM to setitimer and SIGVTALRM. This will add support for sub-second scheduling which will make it much more responsive.

0 comments:
This page does not necessarily reflect the views of my employer or anyone I'm associated with.
redpig@dataspill.org