• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fall asleep ok, awaking ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Fall asleep ok, awaking ...
      • From: Brian Bergstrand <email@hidden>
  • Prev by Date: Re: Filtering out all invisible files in a file system browser
  • Next by Date: Re: Fall asleep ok, awaking ...
  • Previous by thread: Re: how to disable 'Maximize window' button
  • Next by thread: Re: Fall asleep ok, awaking ...
  • Index(es):
    • Date
    • Thread