~cjdahlin/upstart/instance-jobs-as-states

Viewing all changes in revision 1058.

  • Committer: Casey Dahlin
  • Date: 2008-07-17 15:12:26 UTC
  • Revision ID: cdahlin@redhat.com-20080717151226-caxbxcdfah86rk0q
* init/job_class.h (JobClass): Added blocking_event member
* init/job_class.c (job_class_new): Initialize blocking_event to NULL
* init/event.c (event_finished): When unblocking a job, NULL its blocking_event
field
* init/job.c (job_emit_event): When not emitting due to threshold, attempt to
block job with its class's blocking_event

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: