parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does the --halt 2 option kill off all jobs?


From: Martin d'Anjou
Subject: How does the --halt 2 option kill off all jobs?
Date: Fri, 17 Apr 2015 14:06:48 -0400

Hi,

The --halt 2 documentation says:
"Kill off all jobs immediately and exit without clean up."

When I look in the source, I see in Job::should_we_halt() a call to the exit statement:

exit($job->exitstatus())

but I do not see a call that kills all the jobs.

I am confused. Does the exit() statement kill all the jobs? What code kills off all jobs when --halt 2 is specified?

Thanks,
Martin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]