Parent Directory | Revision Log | Patch
revision 1.31 by hauk, Sat Dec 21 01:45:22 2002 UTC | revision 1.32 by hauk, Sat Dec 21 11:25:54 2002 UTC | |
---|---|---|
# | Line 396 static int wait_start(Process_T p) { | Line 396 static int wait_start(Process_T p) { |
396 | sleep(1); | sleep(1); |
397 | } | } |
398 | ||
399 | if(!is_process_running(p)) | |
400 | log("%s: Warning process '%s' was not started\n", p->name); | |
401 | ||
402 | return is_process_running(p); | return is_process_running(p); |
403 | ||
404 | } | } |
# | Line 417 static int wait_stop(Process_T p) { | Line 420 static int wait_stop(Process_T p) { |
420 | sleep(1); | sleep(1); |
421 | } | } |
422 | ||
423 | if(is_process_running(p)) | |
424 | log("%s: Warning process '%s' was not stopped\n", p->name); | |
425 | ||
426 | return !is_process_running(p); | return !is_process_running(p); |
427 | ||
428 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |