npth-1.8

Introduction to NPth

The NPth package contains a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (multithreading) inside event-driven applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable.

This package is known to build and work properly using an LFS 12.4 platform.

Package Information

  • Download (HTTP): https://www.gnupg.org/ftp/gcrypt/npth/npth-1.8.tar.bz2

  • Download SHA256 Sum: 8bd24b4f23a3065d6e5b26e98aba9ce783ea4fd781069c1b35d149694e90ca3e

  • Download MD5 sum: cb4fc0402be5ba67544e499cb2c1a74d

  • Download size: 312 KB

  • Estimated disk space required: 2.9 MB (with checks)

  • Estimated build time: less than 0.1 SBU (with checks)

Installation of NPth

Prepare NPth by running the following commands:

./configure --prefix=/usr

Now Build the package, issue:

make

To test the results, issue:

make check

Now Install the package, as the root user:

make install

Contents

Installed Program: npth-config
Installed Library: libnpth.so
Installed Directory: None

Short Descriptions

npth-config

is a utility used to configure and build applications based on the npth library. It can be used to query the C compiler and linker flags which are required to correctly compile and link the application against the npth library

libnpth.so

contains the API functions used by the New Portable Threads Library