diff options
author | rse <rse@FreeBSD.org> | 1999-05-23 14:54:10 +0000 |
---|---|---|
committer | rse <rse@FreeBSD.org> | 1999-05-23 14:54:10 +0000 |
commit | a53c81ca60e9e60962fca88e212f2de5a55f60b1 (patch) | |
tree | 00aad09676076338c2a59d692703d7dadc7a28f3 /devel/pth | |
parent | 32ccf4c7315c0ef62b806658bb248bee32177e08 (diff) | |
download | FreeBSD-ports-a53c81ca60e9e60962fca88e212f2de5a55f60b1.zip FreeBSD-ports-a53c81ca60e9e60962fca88e212f2de5a55f60b1.tar.gz |
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 'devel/pth')
-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 0000000..b3f60f2 --- /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 0000000..c9e3008 --- /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 0000000..78c6dfa --- /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 0000000..29d27ff --- /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 0000000..a1f06da --- /dev/null +++ b/devel/pth/pkg-plist @@ -0,0 +1,3 @@ +bin/nps-config +include/nps.h +lib/libnps.a |