Changeset 1278 for trunk/packages/vizservers/nanoscale/server.c
- Timestamp:
- Feb 19, 2009 3:48:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanoscale/server.c
r1235 r1278 138 138 children, memory_in_use, load); 139 139 140 #ifdef notdef 140 141 broadcast_load(); 142 #endif 141 143 } 142 144 … … 395 397 // We're ready to go. Before going into the main loop, 396 398 // broadcast a load announcement to other machines. 399 #ifdef notdef 397 400 broadcast_load(); 398 401 #endif 399 402 int maxfd = send_fd; 400 403 FD_ZERO(&saved_rfds); … … 410 413 FD_SET(send_fd, &saved_rfds); 411 414 412 if ( debug_flag == 0) {415 if (!debug_flag) { 413 416 if ( daemon(0,0) != 0 ) { 414 417 perror("daemon"); … … 594 597 for(n = 0; n < MAX_SERVICES; n++) { 595 598 if (FD_ISSET(i, &service_rfds[n])) { 596 597 // disassociate 598 if ( daemon(0,1) == 0 ) { 599 int status = 0; 600 601 if (!debug_flag) { 602 // disassociate 603 status = daemon(0,1); 604 } 605 606 if (status == 0) { 599 607 int fd; 600 608
Note: See TracChangeset
for help on using the changeset viewer.