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

Viewing all changes in revision 775.

  • Committer: Scott James Remnant
  • Date: 2007-10-20 01:06:23 UTC
  • Revision ID: scott@netsplit.com-20071020010623-g8c6k529p0y8buo0
* init/job.c (job_instance): Increment an instances counter each
time we spawn an instance.
(job_change_state): Decrement the instances counter again.
(job_detect_stalled): Drop the main loop function, since we perform
active detection of stall now.
* init/job.h: Update header.
* init/tests/test_job.c (test_change_state): Check that we get the
stalled event for the last instance.
(test_detect_stalled): Drop the test.
* init/main.c: Remove job_detect_stalled from the main loop.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: