On Sep 16, 2013, at 11:33 AM, "Gerriet M. Denkmann" <gerr...@mdenkmann.de> 
wrote:

> I also did some more testing. The magic does not lie in the NSLog() but in 
> the elapsed time.
> 
> On my machine the sending of a message to remoteObjectProxy must NOT be done 
> earlier than ca. 180 μsec after [NSXPCConnection resume].
> 
> Without anything in between these are only 50 μsec apart. Not enough.
> 
> NSLog() adds a sufficient delay of almost 250 μsec.
> But usleep(130) also does the trick. 

Yep, sounds like a race condition for sure.

Charles

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to