Game Development Community

Using a mutex in a single thread

by Daniel Buckmaster · in Torque 3D Professional · 03/29/2012 (8:03 pm) · 1 replies

Is it possible to make use of a Mutex to 'synchronise' methods that should be non-reentrant within a single thread? I can't find any proper documentation on the Mutex class, but from what I understand a call to lock() will not allow a thread to continue execution if the mutex is locked (the thread will wait until it's unlocked).

About the author

Studying mechatronic engineering and computer science at the University of Sydney. Game development is probably my most time-consuming hobby!


#1
03/29/2012 (8:55 pm)
you may want to email Vince Gee - vgee(at)winterleafentertainment(dot)com. i know thats some of the issues that he has ran across while writing DotNetTorque.