npth-1.6

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 9. General Libraries

- Prev

  Node.js-10.15.1

- Next

  NSPR-4.20

- Up
- Home

# npth-1.6

## 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-8.4 platform.

### Package Information

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

- Download MD5 sum: 375d1a15ad969f32d25f1a7630929854

- Download size: 296 KB

- Estimated disk space required: 2.6 MB (with checks)

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

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/npth

## Installation of NPth

Install NPth by running the following commands:

    ./configure --prefix=/usr &&
    make

To test the results, issue: make check.

Now, 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.

Last updated on 2019-02-16 21:14:14 -0600

- Prev

  Node.js-10.15.1

- Next

  NSPR-4.20

- Up
- Home