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

Viewing all changes in revision 33.

  • Committer: Scott James Remnant
  • Date: 2006-08-15 03:01:32 UTC
  • Revision ID: scott@netsplit.com-20060815030132-2f21f9589fd3b6d1
* init/event.c (event_change_value): Rename event_set_value to this
as we intended in the first place; makes it more consistent with job.
Always change the value.
(event_trigger_edge): Add a high-level function to trigger an edge
event.
(event_trigger_level): And another to trigger a level event with
a given value, this inherits the "don't change it" functionality
that was in event_set_value.
* init/event.h: Update.
* init/tests/test_event.c: Test new behaviours and functions.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: