Changeset 8424 for trunk/Ohana/src/opihi/pcontrol/pcontrol.c
- Timestamp:
- Aug 18, 2006, 1:44:51 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/pcontrol.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/pcontrol.c
r8179 r8424 10 10 void program_init (int *argc, char **argv) { 11 11 12 # ifdef THREADED 13 pthread_t clientsThread; 14 # endif 15 12 16 auto_break = TRUE; 13 17 … … 18 22 gprintInit (); 19 23 24 InitJobStacks (); 25 InitHostStacks (); 26 20 27 rl_readline_name = opihi_name; 21 28 rl_attempted_completion_function = command_completer; 29 # ifdef THREADED 30 pthread_create (&clientsThread, NULL, &CheckSystem_Threaded, NULL); 31 rl_event_hook = NULL; 32 rl_set_keyboard_input_timeout (1000); 33 # else 22 34 rl_event_hook = CheckSystem; 23 35 rl_set_keyboard_input_timeout (1000); 36 # endif 24 37 25 38 set_str_variable ("HISTORY", opihi_history);
Note:
See TracChangeset
for help on using the changeset viewer.
