Geant4  10.00.p02
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 void * G4ThreadFunReturnType
 
typedef void * G4ThreadFunArgType
 
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 G4MUTEX_INITIALIZER   1

Definition at line 158 of file G4Threading.hh.

#define G4MUTEXINIT (   mutex)    ;;

Definition at line 160 of file G4Threading.hh.

Referenced by G4ThreadLocalSingleton< T >::G4ThreadLocalSingleton().

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

Definition at line 163 of file G4Threading.hh.

Referenced by main().

#define G4THREADJOIN (   worker)    ;;

Definition at line 164 of file G4Threading.hh.

Referenced by main().

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.

typedef void* G4ThreadFunArgType

Definition at line 166 of file G4Threading.hh.

typedef void* G4ThreadFunReturnType

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.