Changeset 3388 in vbox for trunk/src/VBox/Main/linux/server.cpp
- Timestamp:
- Jul 3, 2007 11:42:41 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22586
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/linux/server.cpp ¶
r3191 r3388 984 984 } 985 985 986 static RTFILE pidFile = NIL_RTFILE; 987 988 #ifdef __OS2__ 989 990 /* nothing to do here, the process is supposed to be already 991 * started daemonized when it is necessary */ 992 NOREF(fDaemonize); 993 994 #else // ifdef __OS2__ 995 986 996 static int daemon_pipe_fds[2]; 987 static RTFILE pidFile = NIL_RTFILE;988 997 989 998 if (fDaemonize) … … 1046 1055 close(daemon_pipe_fds[0]); 1047 1056 } 1057 1058 #endif // ifdef __OS2__ 1048 1059 1049 1060 #if defined(USE_BACKTRACE) … … 1161 1172 { 1162 1173 printf ("\nStarting event loop....\n[send TERM signal to quit]\n"); 1174 #ifndef __OS2__ 1163 1175 /* now we're ready, signal the parent process */ 1164 1176 write(daemon_pipe_fds[1], "READY", strlen("READY")); 1177 #endif 1165 1178 } 1166 1179 else … … 1220 1233 if (fDaemonize) 1221 1234 { 1235 #ifndef __OS2__ 1222 1236 /* close writing end of the pipe as well */ 1223 1237 close(daemon_pipe_fds[1]); 1238 #endif 1224 1239 } 1225 1240
Note:
See TracChangeset
for help on using the changeset viewer.