diff options
author | Ralf S. Engelschall <rse@FreeBSD.org> | 1999-05-23 14:54:10 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@FreeBSD.org> | 1999-05-23 14:54:10 +0000 |
commit | 48e1819573faee474368a5e59bdf3e75de90530f (patch) | |
tree | e81e90e9f546a2b51c2ceae15c52eab7e0fd4d2d | |
parent | Upgrade to 2.8.2.pre5. (diff) |
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/
Notes
Notes:
svn path=/head/; revision=18941
-rw-r--r-- | devel/pth/Makefile | 25 | ||||
-rw-r--r-- | devel/pth/distinfo | 1 | ||||
-rw-r--r-- | devel/pth/pkg-comment | 1 | ||||
-rw-r--r-- | devel/pth/pkg-descr | 21 | ||||
-rw-r--r-- | devel/pth/pkg-plist | 3 |
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile new file mode 100644 index 000000000000..b3f60f2de84a --- /dev/null +++ b/devel/pth/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: nps +# Version required: 0.9.7 +# Date Created: 23 May 1999 +# Whom: Ralf S. Engelschall +# +# $Id: Makefile,v 1.6 1999/05/21 21:34:00 rse Exp $ +# + +DISTNAME= nps-0.9.7 +CATEGORIES= devel +MASTER_SITES= http://www.engelschall.com/sw/nps/ \ + ftp://ftp.engelschall.com/sw/nps/ + +MAINTAINER= rse@engelschall.com + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} + +MAN1= nps-config.1 +MAN3= nps.3 + +post-install: + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/devel/pth/distinfo b/devel/pth/distinfo new file mode 100644 index 000000000000..c9e300860984 --- /dev/null +++ b/devel/pth/distinfo @@ -0,0 +1 @@ +MD5 (nps-0.9.7.tar.gz) = 8a00c1cdae7e06be1aa301042a00447f diff --git a/devel/pth/pkg-comment b/devel/pth/pkg-comment new file mode 100644 index 000000000000..78c6dfaf5a8c --- /dev/null +++ b/devel/pth/pkg-comment @@ -0,0 +1 @@ +Non-Preemtive Thread Scheduling Library diff --git a/devel/pth/pkg-descr b/devel/pth/pkg-descr new file mode 100644 index 000000000000..29d27ff7db90 --- /dev/null +++ b/devel/pth/pkg-descr @@ -0,0 +1,21 @@ +NPS - Non-Preemtive Thread Scheduling Library +Copyright (c) 1999 Ralf S. Engelschall. + +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. + +The documentation and latest release can be found on + http://www.engelschall.com/sw/nps/ + ftp://ftp.engelschall.com/sw/nps/ diff --git a/devel/pth/pkg-plist b/devel/pth/pkg-plist new file mode 100644 index 000000000000..a1f06da5fdc6 --- /dev/null +++ b/devel/pth/pkg-plist @@ -0,0 +1,3 @@ +bin/nps-config +include/nps.h +lib/libnps.a |