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

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Scott James Remnant
  • Date: 2007-06-22 14:50:51 UTC
  • Revision ID: scott@netsplit.com-20070622145051-4jyqswge0wpfxlm2
* init/notify.c (notify_job): Call notify_job_event regardless,
since this now looks over the start_on and stop_on fields.
(notify_job_event): Rewrite to iterate over start_on and stop_on,
and notifying for each cause event found.
(notify_job_event_caused): Static function that is the guts of the
above function.
* init/tests/test_notify.c (test_job, test_job_event): Modify tests
to refer exclusively to the start_on/stop_on expressions rather than
the cause.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
2007-06-22  Scott James Remnant  <scott@netsplit.com>
2
2
 
 
3
        * init/notify.c (notify_job): Call notify_job_event regardless,
 
4
        since this now looks over the start_on and stop_on fields.
 
5
        (notify_job_event): Rewrite to iterate over start_on and stop_on,
 
6
        and notifying for each cause event found.
 
7
        (notify_job_event_caused): Static function that is the guts of the
 
8
        above function.
 
9
        * init/tests/test_notify.c (test_job, test_job_event): Modify tests
 
10
        to refer exclusively to the start_on/stop_on expressions rather than
 
11
        the cause.
 
12
 
3
13
        * init/job.c (job_change_cause): Only notify the job event and
4
14
        update the cause member, we don't need to ref or block it anymore
5
15
        since that's handled by start_on and stop_on.