Threaded-C Language Reference Manual (Release 2.0)

This document describes a revised version (release 2.0) of a portable implementation of the Threaded-C language for EARTH. First, we briefly review the EARTH programming model. Then we present an overview of the extensions to the C language that implement this model in Threaded-C. We use a sequence of small examples to acquaint the reader with this new programming language and style. This tutorial is followed by two detailed examples, one showing how locks typically used for mutual exclusion in shared-memory style programming can be implemented with the constructs of Threaded-C, and the other a program computing a one-dimensional FFT. The appendixes contain a list of all Threaded-C commands and their usage together with a brief description of some useful library modules.

Pour obtenir la version postscript

Cliquez ici pour obtenir la version postscript.