Changeset 19124 for trunk/Ohana/src/opihi/pcontrol/HostOps.c
- Timestamp:
- Aug 19, 2008, 12:28:34 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/HostOps.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/HostOps.c
r18113 r19124 189 189 } 190 190 191 IDtype AddHost (char *hostname ) {191 IDtype AddHost (char *hostname, int max_threads) { 192 192 193 193 Host *host; … … 195 195 ALLOCATE (host, Host, 1); 196 196 197 host[0].hostname = strcreate (hostname); 198 host[0].stdin_fd = 0; 199 host[0].stdout_fd = 0; 200 host[0].stderr_fd = 0; 201 host[0].HostID = NextHostID(); 202 203 host[0].lasttry.tv_sec = 0; 197 host[0].hostname = strcreate (hostname); 198 host[0].max_threads = max_threads; 199 host[0].stdin_fd = 0; 200 host[0].stdout_fd = 0; 201 host[0].stderr_fd = 0; 202 host[0].HostID = NextHostID(); 203 204 host[0].lasttry.tv_sec = 0; 204 205 host[0].lasttry.tv_usec = 0; 205 host[0].nexttry.tv_sec = 0;206 host[0].nexttry.tv_sec = 0; 206 207 host[0].nexttry.tv_usec = 0; 207 208
Note:
See TracChangeset
for help on using the changeset viewer.
