[Nix-dev] Re: [Nix-commits] SVN commit: nix - 14839 - sandervanderburg - in nixos/trunk: system upstart-jobs

Ludovic Courtès ludo at gnu.org
Fri Apr 3 17:59:11 CEST 2009


Michael Raskin <7c6f434c at mail.ru> writes:

> Arie Middelkoop wrote:
>>> We have to use the directy sleep hack, because it there is time window between starting the dbus daemon process and when it is really active.
>>
>> You could create a busy loop with "dbus-send" and keep on retrying until
>> it succeeds...
>
> The only thing not to forget is to put "sleep 1" (or maybe "sleep 0.5")
> inside. No better resource hog than misplaced spinlock.

Can't we do any better?  How does Ubuntu handle this?

Thanks,
Ludo'.




More information about the nix-dev mailing list