Technical report 2/2003

Implementation and Usage of a Thread Pool based on POSIX Threads

Ronald Kriemann

Contact the author: Please use for correspondence this email.
Submission date: 14. Nov. 2003
Pages: 19
Keywords and phrases: parallel computation, shared memory, threads
Download full preprint: PDF (544 kB), PS ziped (145 kB)

Abstract:
When working on a shared memory system the thread model is an easy and efficient way to change existing serial programs to make use of more than one processor. A widely used interface to threads are POSIX threads. Unfortunately, the interface is sometimes too difficult to use, especially for beginners. Therefore a wrapper is introduced which implements a pool of threads, where a job can be send to and is executed in parallel. This article describes the implementation and usage of this thread pool.

03.04.2017, 12:08