aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pth
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>1999-05-23 22:54:10 +0800
committerrse <rse@FreeBSD.org>1999-05-23 22:54:10 +0800
commita53c81ca60e9e60962fca88e212f2de5a55f60b1 (patch)
tree00aad09676076338c2a59d692703d7dadc7a28f3 /devel/pth
parent32ccf4c7315c0ef62b806658bb248bee32177e08 (diff)
downloadfreebsd-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 'devel/pth')
-rw-r--r--devel/pth/Makefile25
-rw-r--r--devel/pth/distinfo1
-rw-r--r--devel/pth/pkg-comment1
-rw-r--r--devel/pth/pkg-descr21
-rw-r--r--devel/pth/pkg-plist3
5 files changed, 51 insertions, 0 deletions
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 <bsd.port.mk>
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