site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KhyhKVtJc4p+6yAyaLR6BfiVMBY0KuXGUAmSXWuaDxSUdsTzZ14w7s2SfyVz39aVgRmHyJ0Ac3OCPDdK2RxPE7kcn+i/vLj1+urrk8pTMvW/agOMZvqS//OT4nItI48Br0nAC280bnu6asfhhwP4ZVZvCd+XQPhQdqwoAD3FPcA= On 6/3/06, Peter Seebach <seebs@plethora.net> wrote: That's what I want, at least; I want APPLE to provide the code to handle the fairly basic functionality of "launch this program only when the system can support it", so I don't have to maintain thirty-leven copies of the code which checks for and waits on services. I think the fundamental thing that's confusing about your argument is that your software already has to *know* how to *use* these resources, so why does it seem strange to you to also ask for them at runtime? It's not like you expect to be able to write a bittorrent client by making a configuration file that says "this is a bittorrent client" and it magically does everything for you. There's some point at which your software's logic determines the resources needed, and you have to ask for them. Just because some of them were previously assumed doesn't mean it was correct to do so. Now, if you were saying "why isn't there an API where in a one-liner I can ask for the startup volume to be available?" that would be a good question. But saying "why can't I just pretend the resources are there because I used to be able to" is counterproductive, even if it's been traditionally true on other *NIXen. If launchd could magically know how the system can support your software you'd be out of a job, it would be an AI that wrote your software for you. :) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com