[Nix-dev] RE: [Nix-commits] SVN commit: nix - 14839 - sandervanderburg - in nixos/trunk: system upstart-jobs
Michael Raskin
7c6f434c at mail.ru
Fri Apr 3 14:11:21 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEcBAEBAgAGBQJJ1fzmAAoJEE6tnN0aWvw3ds4H/2ZH2HxDNs1Gqn75Yuz8ag0w
gTbQHoS2JuMj3bXYL4ML2t/GwgIfok6wGJDl23NZfffVGcbYx2jhnnzi+WEUR+3w
SVjIu+wIVFzY97Vb63kcoq0zgaIw7jRlUXtpvsj73sE8uIcqjlu73Ipk15xqKlMI
DGuo1CV+Y66UEXLJr74lb678Jbs1hPa2YiK9z2etdYyUrJSSEPnqtnxfoOfDQS5q
AEkEgJhLEkQ4glGNnCLvFp49GnNi9ARcbF6u9nYjRkRo6ey3IX2geaQVOYn2dEQv
cMzotfQvmXiDcojWK9k1gtZTppGq/npZ+FntCuitX0efyiSjKA8XXt89VI4yb4Q=
=0Bk/
-----END PGP SIGNATURE-----
More information about the nix-dev
mailing list