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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com