897
|
|
|
Scott James Remnant |
16 years ago
|
|
|
896
|
|
|
Scott James Remnant |
16 years ago
|
|
|
895
|
|
|
Scott James Remnant |
16 years ago
|
|
|
894
|
|
|
Scott James Remnant |
16 years ago
|
|
|
893
|
|
|
Scott James Remnant |
16 years ago
|
|
|
892
|
|
|
Scott James Remnant |
16 years ago
|
|
|
891
|
|
|
Scott James Remnant |
16 years ago
|
|
|
890
|
|
* init/job.h (Job): And while we're at it, the instance name is guaranteed unique for a given job name, which is also guaranteed to be unique - so don't bother with job ids either, since they also get reused in bad cases. * init/job.c (job_next_id): Drop this function. (job_new): Don't assign an id anymore. (job_find_by_id): Drop this function. (job_run_process): Set UPSTART_INSTANCE to the instance name if set. (job_name): Function to create the string used in messages. (job_change_goal, job_change_state, job_run_process) (job_kill_process, job_kill_timer, job_child_handler) (job_process_terminated, job_process_trace_new) (job_process_trace_new_child, job_process_trace_signal) (job_process_trace_fork, job_process_trace_exec): Use the instance name in messages (if set) in place of the job id. * init/tests/test_job.c (test_new): Drop checks on the id field. (test_find_by_id): Drop test. (test_run_process): Check that UPSTART_INSTANCE is set only for named job instances, and contains the instance name. (test_change_state, test_run_process, test_child_handler): Remove id setting and update error message checks. * TODO: Update.
|
Scott James Remnant |
16 years ago
|
|
|
889
|
|
|
Scott James Remnant |
16 years ago
|
|
|
888
|
|
|
Scott James Remnant |
16 years ago
|
|
|
887
|
|
|
Scott James Remnant |
16 years ago
|
|
|
886
|
|
|
Scott James Remnant |
16 years ago
|
|
|
885
|
|
|
Scott James Remnant |
16 years ago
|
|
|
884
|
|
|
Scott James Remnant |
16 years ago
|
|
|
883
|
|
|
Scott James Remnant |
16 years ago
|
|
|
882
|
|
|
Scott James Remnant |
16 years ago
|
|
|
881
|
|
|
Scott James Remnant |
16 years ago
|
|
|
880
|
|
|
Scott James Remnant |
16 years ago
|
|
|
879
|
|
|
Scott James Remnant |
16 years ago
|
|
|
878
|
|
|
Scott James Remnant |
16 years ago
|
|
|