~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 467.

  • Committer: Scott James Remnant
  • Date: 2007-02-07 10:58:06 UTC
  • Revision ID: scott@netsplit.com-20070207105806-8y7hknihgig5v2rw
* init/event.c (event_emit_find_by_id): Locate an event emission
by its id in either the pending or handling queue.
* init/event.h: Add prototype
* init/tests/test_event.c (test_emit): Make sure that the emission
id is unique each time.
(test_emit_find_by_id): Test the function.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: