[BACK]Return to serv1.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math

Diff for /OpenXM/src/ox_math/serv1.c between version 1.3 and 1.6

version 1.3, 1999/11/03 10:56:40 version 1.6, 1999/11/29 12:09:58
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_math/serv1.c,v 1.2 1999/11/02 06:11:58 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_math/serv1.c,v 1.5 1999/11/18 22:07:50 ohara Exp $ */
   
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 12 
Line 12 
   
 static int send_ox_sync_ball(int fd);  static int send_ox_sync_ball(int fd);
   
 extern MLINK lp;  
 static int sv_read  = 3;  static int sv_read  = 3;
 static int sv_write = 4;  static int sv_write = 4;
   
Line 105  int receive_ox(int fd_read, int fd_write)
Line 104  int receive_ox(int fd_read, int fd_write)
     return 0;      return 0;
 }  }
   
   int shutdown()
   {
       close(sv_read);
       close(sv_write);
       ml_exit();
       exit(0);
   }
   
 int main()  int main()
 {  {
     MATH_init();      ml_init();
     initialize_stack();      initialize_stack();
   
     signal(SIGUSR1, handler_reset1);      signal(SIGUSR1, handler_reset1);
Line 128  int main()
Line 135  int main()
             already_send_ox_sync_ball = 0;              already_send_ox_sync_ball = 0;
         }          }
     }      }
     MATH_exit();      shutdown();
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>