Reference IMutex
Declared in Codebot.System.pas on line 1159
IMutex allows threads to wait for an exclusive locked ownership of a mutex object Note On unix systems cthreads must be the first unit in your program source if you want thread support
IMutex = interface
public
{ Lock causes the current thread to wait for exclusive ownership of a mutex
object }
function Lock: LongInt;
{ Unlock releases exclusive access to a mutex object, allowing the next
waiting thread to take ownership }
function Unlock: LongInt;
end;