diff options
author | rse <rse@FreeBSD.org> | 1999-05-23 22:54:10 +0800 |
---|---|---|
committer | rse <rse@FreeBSD.org> | 1999-05-23 22:54:10 +0800 |
commit | a53c81ca60e9e60962fca88e212f2de5a55f60b1 (patch) | |
tree | 00aad09676076338c2a59d692703d7dadc7a28f3 /mail/postilion | |
parent | 32ccf4c7315c0ef62b806658bb248bee32177e08 (diff) | |
download | freebsd-ports-graphics-a53c81ca60e9e60962fca88e212f2de5a55f60b1.tar.gz freebsd-ports-graphics-a53c81ca60e9e60962fca88e212f2de5a55f60b1.tar.zst freebsd-ports-graphics-a53c81ca60e9e60962fca88e212f2de5a55f60b1.zip |
Import of NPS, a non-preeemtive thread scheduling library.
NPS is a POSIX/ANSI-C based library for Unix platforms which
provides non-preemtive scheduling for multiple threads of execution
("multi-threading") inside server applications. All threads run in the
same address space of the server application, but each thread has it's
own individual run-time stack and program-counter.
The thread scheduling itself is done in a cooperative way, i.e. the
threads are managed by a priority- and event-based non-preemtive
scheduler. The intention is that this way one can achieve better
portability and run-time performance than with preemtive scheduling.
The event facility allows threads to wait until various types of
events occur, including pending I/O on filedescriptors, elapsed
timers, pending I/O on message ports, thread and process termination,
and even customized callback functions.
More details:
http://www.engelschall.com/sw/nps/
ftp://ftp.engelschall.com/sw/nps/
Diffstat (limited to 'mail/postilion')
0 files changed, 0 insertions, 0 deletions