Name: libpth Version: 2.0.7 Release: 3mamba Summary: GNU Pth - The GNU Portable Threads Library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnu.org/software/pth/ Source: ftp://ftp.gnu.org/gnu/pth/pth-%{version}.tar.gz License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (aka ``multithreading'') inside event-driven applications. All threads run in the same address space of the server application, but each thread has it's own individual program-counter, run-time stack, signal mask and errno variable. The thread scheduling itself is done in a cooperative way, i.e., the threads are managed by a priority- and event-based non-preemptive scheduler. The intention is that this way one can achieve better portability and run-time performance than with preemptive scheduling. The event facility allows threads to wait until various types of events occur, including pending I/O on filedescriptors, asynchronous signals, elapsed timers, pending I/O on message ports, thread and process termination, and even customized callback functions. Additionally Pth provides an optional emulation API for POSIX.1c threads ("Pthreads") which can be used for backward compatibility to existing multithreaded applications. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (aka ``multithreading'') inside event-driven applications. All threads run in the same address space of the server application, but each thread has it's own individual program-counter, run-time stack, signal mask and errno variable. The thread scheduling itself is done in a cooperative way, i.e., the threads are managed by a priority- and event-based non-preemptive scheduler. The intention is that this way one can achieve better portability and run-time performance than with preemptive scheduling. The event facility allows threads to wait until various types of events occur, including pending I/O on filedescriptors, asynchronous signals, elapsed timers, pending I/O on message ports, thread and process termination, and even customized callback functions. Additionally Pth provides an optional emulation API for POSIX.1c threads ("Pthreads") which can be used for backward compatibility to existing multithreaded applications. This package contains static libraries and header files need for development. %prep %setup -q -n pth-%{version} %build %configure %make -j1 %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libpth.so.* %doc AUTHORS COPYING ChangeLog NEWS README THANKS %files devel %defattr(-,root,root) %{_bindir}/pth-config %{_datadir}/aclocal/pth.m4 %{_includedir}/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_mandir}/man1/pth-config.* %{_mandir}/man3/pth.* %changelog * Fri Sep 06 2013 Automatic Build System 2.0.7-3mamba - automatic rebuild by autodist * Mon Dec 03 2007 Aleph0 2.0.7-2mamba - specfile updated * Fri Jan 19 2007 Davide Madrisan 2.0.7-1qilnx - update to version 2.0.7 by autospec - man pages moved to the devel package - modified package URL * Tue Oct 12 2004 Silvan Calarco 2.0.2-1qilnx - package created by autospec