On 3 Dec 2009, at 01:59, John Michael Zorko wrote: > > Hello, all ... > > i've done some googling, and read documentation for NSRunLoop and NSThread, > but there's something I don't know: How do I get the run loop of a specific > NSThread? Something like: > > [streamerThread getCurrentRunLoop]; > > ??
Simple answer is you don't. Runloops aren't thread safe, they're only designed to be access from the thread they "belong to". So you can easily get the runloop of the current thread (+currentRunLoop) but not of an arbitrary thread._______________________________________________ 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