GNU Pthreads - NCI National Facility
National Computational Infrastructure
NCI National Facility
Software at a site Software by category Facilities at a site Login
        Generic (all NCI systems)       Version specific (all NCI systems)       Host and version specific
   GNU Pthreads
GNU Pthreads

Categories for this software: Parallel Programming Libraries/Tools
What is GNU Pthreads GNU Pthreads (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.

See the GNU Pthreads home page for m ore details. The GNU pthreads library is an alternative to the native pthreads libray supported by default on the system.

How to Use GNU Pthreads at Other Australian HPC Centres
Location System Version Default
More Details Notes   Installed    

XML Query for GNU Pthreads

Partner contact email: problems, suggestions, questions to