Changeset 39457 for trunk/Ohana/src/opihi/cmd.data/cursor.c
- Timestamp:
- Mar 11, 2016, 10:23:42 PM (10 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/cmd.data/cursor.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ohana.20160226 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/opihi/cmd.data/cursor.c
r33662 r39457 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.
