Geant4_10
Namespaces | Macros | Typedefs | Functions
G4Threading.hh File Reference
#include "G4Types.hh"
Include dependency graph for G4Threading.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 G4Threading
 

Macros

#define G4MUTEX_INITIALIZER   1
 
#define G4MUTEXINIT(mutex)   ;;
 
#define G4MUTEXLOCK   fake_mutex_lock_unlock
 
#define G4MUTEXUNLOCK   fake_mutex_lock_unlock
 
#define G4THREADCREATE(worker, func, arg)   ;;
 
#define G4THREADJOIN(worker)   ;;
 
#define G4CONDITION_INITIALIZER   1
 
#define G4CONDITIONWAIT(cond, mutex)   ;;
 
#define G4CONDTIONBROADCAST(cond)   ;;
 

Typedefs

typedef G4int G4Mutex
 
typedef G4int G4Thread
 
typedef voidG4ThreadFunReturnType
 
typedef voidG4ThreadFunArgType
 
typedef G4int(* thread_lock )(G4Mutex *)
 
typedef G4int(* thread_unlock )(G4Mutex *)
 
typedef G4int G4Pid_t
 
typedef G4int G4Condition
 

Functions

G4int fake_mutex_lock_unlock (G4Mutex *)
 
G4Pid_t G4Threading::G4GetPidId ()
 
G4int G4Threading::G4GetNumberOfCores ()
 
G4int G4Threading::G4GetThreadId ()
 
G4bool G4Threading::IsWorkerThread ()
 
void G4Threading::G4SetThreadId (G4int aNewValue)
 

Macro Definition Documentation

#define G4CONDITION_INITIALIZER   1

Definition at line 171 of file G4Threading.hh.

#define G4CONDITIONWAIT (   cond,
  mutex 
)    ;;

Definition at line 172 of file G4Threading.hh.

#define G4CONDTIONBROADCAST (   cond)    ;;

Definition at line 173 of file G4Threading.hh.

#define G4MUTEX_INITIALIZER   1

Definition at line 158 of file G4Threading.hh.

#define G4MUTEXINIT (   mutex)    ;;

Definition at line 160 of file G4Threading.hh.

#define G4MUTEXLOCK   fake_mutex_lock_unlock

Definition at line 161 of file G4Threading.hh.

#define G4MUTEXUNLOCK   fake_mutex_lock_unlock

Definition at line 162 of file G4Threading.hh.

#define G4THREADCREATE (   worker,
  func,
  arg 
)    ;;

Definition at line 163 of file G4Threading.hh.

#define G4THREADJOIN (   worker)    ;;

Definition at line 164 of file G4Threading.hh.

Typedef Documentation

typedef G4int G4Condition

Definition at line 170 of file G4Threading.hh.

typedef G4int G4Mutex

Definition at line 156 of file G4Threading.hh.

typedef G4int G4Pid_t

Definition at line 169 of file G4Threading.hh.

typedef G4int G4Thread

Definition at line 157 of file G4Threading.hh.

Definition at line 166 of file G4Threading.hh.

Definition at line 165 of file G4Threading.hh.

typedef G4int(* thread_lock)(G4Mutex *)

Definition at line 167 of file G4Threading.hh.

typedef G4int(* thread_unlock)(G4Mutex *)

Definition at line 168 of file G4Threading.hh.

Function Documentation

G4int fake_mutex_lock_unlock ( G4Mutex )

Definition at line 91 of file G4Threading.cc.