Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Atomic file system not atomic?



On 9/13/05 7:56 AM, Theodore H. Smith didst favor us with:

> I think I figured out what I'm missing.
> 
> I was trying to do some Carbon/Cocoa intercommunication between apps.
> NSWorkspace's launch method will return *Before* the app is launched.
> I was assuming that NSworkspace waits until the app is in the tasks
> list, but I think it only appears in the tasks list later.
> 
> So I finally figured it out.

Assumptions are evil. I'm not familiar with Cocoa or NSWorkspace, but I
wouldn't expect anything to hang there and wait while an application was
being launched. That process can take as long as 30 seconds for some of the
launch hogs -- more if the disk is being accessed a lot by other
applications at the time -- and I wouldn't expect my application to be
frozen for 30 seconds or more waiting for another application to launch.

Larry

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Atomic file system not atomic? (From: "Theodore H. Smith" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.