The too unit provides TOM with networking, event dispatching, and distributed objects.
This extension provides deadlock-condition.
variables
Necessary glue within Thread class.
variables
The thread which has to release a lock so we can continue.
methods
boolean isWaitingFor Thread t; |
Return TRUE if we are waiting for the argument Thread t to finish. This includes implied (transitive) waiting.
void setBlockedBy Thread t; |
Set blockedBy. This is solely used internally by the AutoLock class.
Recursive lock with deadlock detection. If deadlock occurs, the faulty thread will be unjammed by receiving deadlock-condition.
inherits
State supers: RecursiveLock, Conditions
methods
void load MutableArray arguments; |
Initialization method.
variables
The thread holding the lock, nil if none.
methods
id
init;
|
Designated initializer.
void
lock;
|
Obtain the lock, but if a deadlock is detected, deadlock-condition will be raised.
void
unlock;
|
Unlock the lock.