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

Created by Casey Dahlin and last modified
Get this branch:
bzr branch lp:~cjdahlin/upstart/instance-jobs-as-states
Only Casey Dahlin can upload to this branch. If you are Casey Dahlin please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Casey Dahlin
Project:
upstart
Status:
Development

Recent revisions

1058. By Casey Dahlin

* 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

1057. By Casey Dahlin

* init/tests/test_parse_job.c: Add casts to prevent pointer type warnings

1056. By Casey Dahlin

* init/tests/test_job.c: Pass 3rd argument to job_change_goal

1055. By Casey Dahlin

* init/job_class.c (job_class_consider): Made considering internal jobs
automatically result in insertion.
(job_class_add): Made static again.
* init/parse_job.c (parse_when_oper): Call job_class_consider in stead of
job_class_add for new internal jobs.

1054. By Casey Dahlin

* ChangeLog: Update

1053. By Casey Dahlin

* init/job_class.c: (job_class_reconsider): don't look for opponents to internal
jobs.

1052. By Casey Dahlin

* init/parse_job.c: Make the threshold stanza a DEBUG-only feature

1051. By Casey Dahlin

* init/event.c: Output environment with debug info for new events

1050. By Casey Dahlin

* init/job.c: (job_emit_event): Give threshold started/stopped events an
INSTANCE environment of empty string.

1049. By Casey Dahlin

* init/job.c: (job_change_goal): Added ShouldFree flag like job_change_state.
(job_change_state): Added asserts to ensure no internal jobs (which might be
freed) get sent to job_change_goal.

Misc. tweaks in response to the above to:
  init/event.c
  init/job.h
  init/job_class.c
  init/job_process.c

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.