-
Committer:
Scott James Remnant
-
Date:
2009-07-03 16:08:10 UTC
-
Revision ID:
scott@netsplit.com-20090703160810-lp2opbni4vtzcema
* dbus/com.ubuntu.Upstart.xml (EmitEvent): Add wait argument
* init/control.c (control_emit_event): Add wait argument, when TRUE
this behaves as before; when FALSE the method returns after queuing
the event and no blocked entry is created for it.
* init/control.h: Amend prototype.
* init/tests/test_control.c (test_emit_event): Pass TRUE for wait
and check for a blocking entry in existing tests, add a test for
passing FALSE and making sure that there's no blocking but we
still get the reply.