- Timestamp:
- Mar 1, 2016, 11:34:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20160226/src/opihi/cmd.data/cursor.c
r33662 r39419 6 6 int i, N, kapa, VERBOSE; 7 7 double X, Y, R, D, Z; 8 void *oldsignal;9 8 10 9 // XXX need to be able to specify graph vs image coords … … 38 37 KiiCursorOn (kapa); 39 38 40 oldsignal = signal (SIGINT, handle_interrupt); 41 interrupt = FALSE; 42 39 struct sigaction *old_sigaction = SetInterrupt(); 43 40 for (i = 0; ((i < N) || (N == 0)) && !interrupt; i++) { 44 41 … … 62 59 if (!strcasecmp (key, "Q")) break; 63 60 } 61 ClearInterrupt (old_sigaction); 64 62 65 signal (SIGINT, oldsignal);66 63 KiiCursorOff (kapa); 67 64 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
