This chapter describes the NSPR API Thread Pools.

Note

Note: This API is a preliminary version in NSPR 4.0 and is subject to change.

Thread pools create and manage threads to provide support for scheduling work (jobs) onto one or more threads. NSPR’s thread pool is modeled on the thread pools described by David R. Butenhof inProgramming with POSIX Threads (Addison-Wesley, 1997).