Re: OSX have that is equivalent to WaitMessage() Win32 API
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