FROM : Kyle Sluder
DATE : Sun Mar 02 02:44:33 2008
On Sat, Mar 1, 2008 at 7:07 PM, Adam R. Maxwell <<email_removed>> wrote:
> Does this apply to NSMachPort as well? I filed a doc bug hoping for
> eventual clarification, but I'd rather know sooner rather than later
> if the code has to be rewritten. rdar://problem/5772256
You're misinterpreting "thread-safe"; you can't send messages to an
NSPort on thread A from thread B. Since each thread is only
manipulating its own NSPort, you're in the clear.
--Kyle Sluder
DATE : Sun Mar 02 02:44:33 2008
On Sat, Mar 1, 2008 at 7:07 PM, Adam R. Maxwell <<email_removed>> wrote:
> Does this apply to NSMachPort as well? I filed a doc bug hoping for
> eventual clarification, but I'd rather know sooner rather than later
> if the code has to be rewritten. rdar://problem/5772256
You're misinterpreting "thread-safe"; you can't send messages to an
NSPort on thread A from thread B. Since each thread is only
manipulating its own NSPort, you're in the clear.
--Kyle Sluder
| Related mails | Author | Date |
|---|---|---|
| Adam R. Maxwell | Mar 2, 01:07 | |
| Kyle Sluder | Mar 2, 02:44 | |
| Adam R. Maxwell | Mar 2, 03:01 | |
| Kyle Sluder | Mar 2, 05:35 | |
| Adam R. Maxwell | Mar 2, 05:52 |






Cocoa mail archive

