HPCxx_Mutex

Unlike Java, the library cannot support synchronized methods or CC++ atomic members, but a simple Mutex object with two functions lock and unlock provide the basic capability.

Class Definition

class HPCxx_Mutex{
   public:
     void lock();
     void unlock();
};
    

Examples
hpc++@extreme.indiana.edu

Last modified: Thu Apr 22 00:20:38 EST 1999