Message: Re: getting problem when using a G4WrapperProcess user class in multitthreaded application Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: getting problem when using a G4WrapperProcess user class in multitthreaded application 

Forum: Multithreading
Re: Question getting problem when using a G4WrapperProcess user class in multitthreaded application (Jaafar EL Bakkali)
Date: 23 Aug, 2017
From: Andrea Dotti <Andrea Dotti>

Hello, this looks like you need to use a mutex to protect the shared resource (probably around line 105). The G4AutoLock utility can help. Check our chapter 2.14.4.2 at this address: https://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForToolkitDeveloper/html/ch02s14.html#sect.DsgnFuncMT.Utils

Regards, Andrea

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: getting problem when using a G4WrapperProcess user class in multitthreaded application   (Jaafar EL Bakkali - 27 Aug, 2017)
 Add Message Add Message
to: "Re: getting problem when using a G4WrapperProcess user class in multitthreaded application"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews