Fall asleep ok, awaking ...
Fall asleep ok, awaking ...
- Subject: Fall asleep ok, awaking ...
- From: ROUGE Alex <email@hidden>
- Date: Wed, 10 Nov 2004 17:51:43 +0100
Hi,
Finaly I found the way to make my thread fall asleep with the following command...
if(!runGeneration)[threadLock lockWhenCondition:HAS_DATA];
where runGeneration is just a bool.
So, now I must be able to awake that thread from another thread.
I see that I must use NSConnection to do that but I do not find a easy to understand (for me) sample.
So, I'll continue to work on that awaking, and hope someone can help me.
Regards
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden