Changeset 41483 for trunk/Ohana/src/opihi/pantasks/pantasks_server.c.in
- Timestamp:
- Feb 3, 2021, 2:12:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/pantasks_server.c.in
r39457 r41483 15 15 void special_init (int *argc, char **argv); 16 16 17 static pthread_t JobsAndTasksThread; 18 static pthread_t controllerThread; 19 static pthread_t clientsThread; 20 17 21 /* program-dependent initialization */ 18 22 int main (int argc, char **argv) { … … 20 24 char hostname[256], portinfo[256]; 21 25 char log_stdout[1024], log_stderr[1024], tmpname[1024]; 22 pthread_t JobsAndTasksThread;23 pthread_t clientsThread;24 pthread_t controllerThread;25 26 int InitSocket, BindSocket; 26 27 SockAddress Address; … … 136 137 QuitController (); 137 138 ConfigFree (); 139 140 QuitJobsAndTasksThread(); pthread_join (JobsAndTasksThread, NULL); 141 QuitControllerThread(); pthread_join (controllerThread, NULL); 142 QuitClientThread(); pthread_join (clientsThread, NULL); 143 138 144 InitBasic (); 139 145 InitData ();
Note:
See TracChangeset
for help on using the changeset viewer.
