2008/3/10 Trygve Inda <[EMAIL PROTECTED]>:

>  The call I need an equivalent to is MPWaitOnQueue... This blocks a thread
>  until a message is received OR it times out. Is there a way to get a similar
>  functionality with NSThread?

The most Cocoa-ish way to do this is probably to use run loops and
NSTimers, though you can also achieve it simply by using POSIX
select().

Hamish
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to