version 1.7, 2006/12/05 01:43:17 |
version 1.9, 2017/08/30 09:40:31 |
Line 124 void watch_intr() { |
|
Line 124 void watch_intr() { |
|
if ( doing_batch ) |
if ( doing_batch ) |
send_intr(); |
send_intr(); |
/* for Asir; recv_intr is reset to 0 in Asir */ |
/* for Asir; recv_intr is reset to 0 in Asir */ |
|
enter_signal_cs(); |
recv_intr = 1; |
recv_intr = 1; |
|
leave_signal_cs(); |
|
PulseEvent(hIntr_Ack); |
break; |
break; |
case WAIT_OBJECT_0+1: /* hKill */ |
case WAIT_OBJECT_0+1: /* hKill */ |
default: |
default: |
Line 150 void ox_watch_intr() { |
|
Line 153 void ox_watch_intr() { |
|
ResetEvent(hOxIntr); |
ResetEvent(hOxIntr); |
if ( doing_batch ) |
if ( doing_batch ) |
send_intr(); |
send_intr(); |
|
enter_signal_cs(); |
recv_intr = 1; |
recv_intr = 1; |
|
leave_signal_cs(); |
break; |
break; |
case WAIT_OBJECT_0+1: /* hOxReset */ |
case WAIT_OBJECT_0+1: /* hOxReset */ |
ResetEvent(hOxReset); |
ResetEvent(hOxReset); |
if ( doing_batch ) |
if ( doing_batch ) |
send_intr(); |
send_intr(); |
|
enter_signal_cs(); |
recv_intr = 2; |
recv_intr = 2; |
|
leave_signal_cs(); |
break; |
break; |
case WAIT_OBJECT_0+2: /* hOxKill */ |
case WAIT_OBJECT_0+2: /* hOxKill */ |
ResetEvent(hOxKill); |
ResetEvent(hOxKill); |