mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
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/
This commit is contained in:
parent
cbc777bce7
commit
48e1819573
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18941
25
devel/pth/Makefile
Normal file
25
devel/pth/Makefile
Normal file
@ -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>
|
1
devel/pth/distinfo
Normal file
1
devel/pth/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (nps-0.9.7.tar.gz) = 8a00c1cdae7e06be1aa301042a00447f
|
1
devel/pth/pkg-comment
Normal file
1
devel/pth/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Non-Preemtive Thread Scheduling Library
|
21
devel/pth/pkg-descr
Normal file
21
devel/pth/pkg-descr
Normal file
@ -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/
|
3
devel/pth/pkg-plist
Normal file
3
devel/pth/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/nps-config
|
||||
include/nps.h
|
||||
lib/libnps.a
|
Loading…
Reference in New Issue
Block a user