version 1.5, 2002/10/28 00:38:32 |
version 1.6, 2002/10/28 08:57:28 |
|
|
/* |
/* |
$OpenXM: OpenXM/src/kxx/oxd.c,v 1.4 2002/10/27 10:39:33 takayama Exp $ |
$OpenXM: OpenXM/src/kxx/oxd.c,v 1.5 2002/10/28 00:38:32 takayama Exp $ |
*/ |
*/ |
|
|
#include <stdio.h> |
#include <stdio.h> |
Line 137 childServerMain(int fd) { |
|
Line 137 childServerMain(int fd) { |
|
extern int Serial; |
extern int Serial; |
char *openxm; |
char *openxm; |
int resultCode; |
int resultCode; |
|
int st; |
|
|
/* Starting oxd session */ |
/* Starting oxd session */ |
signal(SIGALRM,exitServer); |
signal(SIGALRM,exitServer); |
alarm(60); |
alarm(60); |
Line 209 childServerMain(int fd) { |
|
Line 211 childServerMain(int fd) { |
|
GET_COMMAND /* expect <login/> */ |
GET_COMMAND /* expect <login/> */ |
|
|
fclose(fp); /* close the connection */ |
fclose(fp); /* close the connection */ |
|
fprintf(stderr,"Waiting the termination of the child process (ox server).\n"); |
|
fflush(NULL); |
|
wait(&st); |
|
fprintf(stderr,"%d: The child process is terminated.\n",Serial); |
exit(0); |
exit(0); |
} |
} |
|
|