Skip to content

Commit ff3d7f3

Browse files
committed
Clarify docs further.
1 parent d0415e4 commit ff3d7f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lab/experiment.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ def add_command(
199199
*command* has to be a list of strings where the first item is
200200
the executable.
201201
202-
After *time_limit* seconds the signal SIGXCPU is sent to the
203-
command. The process can catch this signal and exit gracefully.
204-
If it doesn't catch the SIGXCPU signal, the command is aborted
205-
with SIGKILL after five additional seconds. The time spent by a
206-
command is the sum of time spent across all threads of the
207-
process and its descendants.
202+
After *time_limit* seconds one of SIGXCPU or SIGTERM is sent to
203+
the command. The command can catch this signal and exit
204+
gracefully. After five additional seconds, the command is
205+
aborted with SIGKILL. The time spent by a command is the sum of
206+
time spent across all threads of the command is the sum of time
207+
spent across all threads of the command and its descendants.
208208
209209
The command is aborted with SIGKILL when any of its threads
210210
uses more than *memory_limit* MiB.

0 commit comments

Comments
 (0)