version 1.16, 2003/12/04 06:29:21 |
version 1.18, 2004/02/28 12:27:15 |
|
|
/* $OpenXM: OpenXM/src/util/ox_pathfinder.c,v 1.15 2003/12/04 05:27:19 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/util/ox_pathfinder.c,v 1.17 2003/12/04 10:35:24 takayama Exp $ */ |
/* Moved from misc-2003/07/cygwin/test.c */ |
/* Moved from misc-2003/07/cygwin/test.c */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
Line 1110 int oxKillAll(void) { |
|
Line 1110 int oxKillAll(void) { |
|
int status; |
int status; |
for (i=0; i<Myforkcp; i++) { |
for (i=0; i<Myforkcp; i++) { |
pid = Myforkchildren[i]; |
pid = Myforkchildren[i]; |
signal(SIGKILL,myforkwait); |
fprintf(stderr,"Sending signal to %d ... ",pid); |
|
kill(pid,SIGKILL); |
|
waitpid(pid,&status,0); |
|
fprintf(stderr,"Gone.\n"); |
} |
} |
Myforkcp = 0; |
Myforkcp = 0; |
return(0); |
return(0); |
|
} |
|
|
|
void ox_pathfinder_quiet(void) { |
|
Verbose_get_home = 0; |
} |
} |