From a53c81ca60e9e60962fca88e212f2de5a55f60b1 Mon Sep 17 00:00:00 2001 From: rse Date: Sun, 23 May 1999 14:54:10 +0000 Subject: 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/ --- devel/pth/Makefile | 25 +++++++++++++++++++++++++ devel/pth/distinfo | 1 + devel/pth/pkg-comment | 1 + devel/pth/pkg-descr | 21 +++++++++++++++++++++ devel/pth/pkg-plist | 3 +++ 5 files changed, 51 insertions(+) create mode 100644 devel/pth/Makefile create mode 100644 devel/pth/distinfo create mode 100644 devel/pth/pkg-comment create mode 100644 devel/pth/pkg-descr create mode 100644 devel/pth/pkg-plist (limited to 'devel/pth') diff --git a/devel/pth/Makefile b/devel/pth/Makefile new file mode 100644 index 00000000000..b3f60f2de84 --- /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 diff --git a/devel/pth/distinfo b/devel/pth/distinfo new file mode 100644 index 00000000000..c9e30086098 --- /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 00000000000..78c6dfaf5a8 --- /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 00000000000..29d27ff7db9 --- /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 00000000000..a1f06da5fdc --- /dev/null +++ b/devel/pth/pkg-plist @@ -0,0 +1,3 @@ +bin/nps-config +include/nps.h +lib/libnps.a -- cgit