[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.6 and 1.7

version 1.6, 1999/11/29 12:09:58 version 1.7, 2000/01/05 06:09:11
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_math/serv1.c,v 1.5 1999/11/18 22:07:50 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_math/serv1.c,v 1.6 1999/11/29 12:09:58 ohara Exp $ */
   
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 18  static int sv_write = 4;
Line 18  static int sv_write = 4;
 static int flag_sigusr1 = 0;  static int flag_sigusr1 = 0;
 static int flag_sigusr2 = 0;  static int flag_sigusr2 = 0;
   
 /* 1 のとき割り込み禁止 */  /* if in_critical equals to 1 then we do not permit an interrupt. */
 static int in_critical = 0;  static int in_critical = 0;
   
 static int set_critical()  static int set_critical()
Line 79  static int exchange_ox_syncball(int fd)
Line 79  static int exchange_ox_syncball(int fd)
     fprintf(stderr, "received a sync_ball.\n");      fprintf(stderr, "received a sync_ball.\n");
 }  }
   
 /* スタックマシン部分 */  /* a part of stack machine. */
 int receive_ox(int fd_read, int fd_write)  int receive_ox(int fd_read, int fd_write)
 {  {
     int tag;      int tag;
Line 120  int main()
Line 120  int main()
     signal(SIGUSR1, handler_reset1);      signal(SIGUSR1, handler_reset1);
     signal(SIGKILL, handler_kill);      signal(SIGKILL, handler_kill);
   
     /* バイトオーダの決定 */  
     decideByteOrderServer(sv_read, 0);      decideByteOrderServer(sv_read, 0);
   
     while(1) {      while(1) {

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

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