HPC++ Examples

The table below lists the programs available on-line for you to examine to see how the different classes work. Click on any of the program names to go to a source listing of that code. From there, you can go to the on-line example, which will actually run the program for you and allow you to see the output it generates. You may also click on any class name to see the description of that class. The table deliniates which clases appear in which example program. For example, if you wish to see code that uses the HPCxx_Sync class, you could click on Sync.C to go to that example.

Class\Program hello.C simple.C Sync.C SyncQ.C Mutex.C Barrier.C Reduct.C Collect.C
Thread X X X X X X X X
Runnable
Sync X
SyncQ X
CSem X X
Mutex X
Group X X X X X X X X
Barrier X X
Reduct X
Collective X

For a longer example, showing more thoroughly how the classes work and interact in a shared-memory environment, see the complete walk-through of the Lattice Gas Automaton example.
Benjamin Temko
Last modified: Tue Nov 11 15:29:37 EST 1997