Endon notify?
Hey
is there a way to end a thread when notified?
Something like this:
is there a way to end a thread when notified?
Something like this:
Code:
doThread()
{
self endon("mynotify");
[...]
}
anotherThread()
{
'Notify to end the other thread
self notify("mynotify");
}

