Search

MiS Preprint Repository

We have decided to discontinue the publication of preprints on our preprint server as of 1 March 2024. The publication culture within mathematics has changed so much due to the rise of repositories such as ArXiV (www.arxiv.org) that we are encouraging all institute members to make their preprints available there. An institute's repository in its previous form is, therefore, unnecessary. The preprints published to date will remain available here, but we will not add any new preprints here.

Technical Report
2/2003

Implementation and Usage of a Thread Pool based on POSIX Threads

Ronald Kriemann

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.

Received:
Nov 14, 2003
Published:
Nov 14, 2003
Keywords:
parallel computation, shared memory, threads