• 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
Re: OSX have that is equivalent to WaitMessage() Win32 API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSX have that is equivalent to WaitMessage() Win32 API


  • Subject: Re: OSX have that is equivalent to WaitMessage() Win32 API
  • From: Dave DeLong <email@hidden>
  • Date: Sun, 18 Oct 2009 21:37:36 -0600

Since it wasn't explained....

"The WaitMessage function yields control to other threads when a thread has no other messages in its message queue. The WaitMessage function suspends the thread and does not return until a new message is placed in the thread's message queue."

The closest thing I can think of to that would be something like sleep (), spinning the runloop, or using some sort of thing to "(doSomething) InBackgroundAndNotify".

(A different) Dave

On Oct 18, 2009, at 1:48 AM, Mars999 wrote:

I need a function in OSX that is equivalent to WaitMessage() from the Win32API...

Thanks
Dave
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >OSX have that is equivalent to WaitMessage() Win32 API (From: Mars999 <email@hidden>)

  • Prev by Date: Core data unable to save Date, Name etc.
  • Next by Date: Re: OSX have that is equivalent to WaitMessage() Win32 API
  • Previous by thread: OSX have that is equivalent to WaitMessage() Win32 API
  • Next by thread: Re: OSX have that is equivalent to WaitMessage() Win32 API
  • Index(es):
    • Date
    • Thread