Geant4
10.00.p02
|
#include "G4Types.hh"
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) |
#define G4CONDITION_INITIALIZER 1 |
Definition at line 171 of file G4Threading.hh.
#define G4CONDITIONWAIT | ( | cond, | |
mutex | |||
) | ;; |
Definition at line 172 of file G4Threading.hh.
Referenced by G4MTRunManager::NewActionRequest(), G4MTRunManager::ThisWorkerEndEventLoop(), G4MTRunManager::ThisWorkerReady(), G4MTRunManager::ThisWorkerWaitForNextAction(), G4MTRunManager::WaitForEndEventLoopWorkers(), and G4MTRunManager::WaitForReadyWorkers().
#define G4CONDTIONBROADCAST | ( | cond | ) | ;; |
Definition at line 173 of file G4Threading.hh.
Referenced by G4MTRunManager::NewActionRequest(), G4MTRunManager::ThisWorkerEndEventLoop(), G4MTRunManager::ThisWorkerReady(), G4MTRunManager::ThisWorkerWaitForNextAction(), G4MTRunManager::WaitForEndEventLoopWorkers(), and G4MTRunManager::WaitForReadyWorkers().
#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 G4MUTEXLOCK fake_mutex_lock_unlock |
Definition at line 161 of file G4Threading.hh.
Referenced by G4ParticleTable::FindParticle(), G4IonTable::GetIon(), G4VUserPhysicsList::InitializeProcessManager(), G4VUserPhysicsList::RemoveProcessManager(), and G4ParticleTable::WorkerG4ParticleTable().
#define G4MUTEXUNLOCK fake_mutex_lock_unlock |
Definition at line 162 of file G4Threading.hh.
Referenced by G4ParticleTable::FindParticle(), G4IonTable::GetIon(), G4VUserPhysicsList::InitializeProcessManager(), G4VUserPhysicsList::RemoveProcessManager(), and G4ParticleTable::WorkerG4ParticleTable().
#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 G4int G4Condition |
Definition at line 170 of file G4Threading.hh.
Definition at line 156 of file G4Threading.hh.
Definition at line 169 of file G4Threading.hh.
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.
Definition at line 167 of file G4Threading.hh.
Definition at line 168 of file G4Threading.hh.
Definition at line 91 of file G4Threading.cc.