Changeset 17182 in vbox for trunk/src/VBox/Main/MachineImpl.cpp
- Timestamp:
- Feb 26, 2009 6:04:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MachineImpl.cpp
r17180 r17182 7767 7767 key = ((uint32_t)'V' << 24) | i; 7768 7768 int sem = ::semget (key, 1, S_IRUSR | S_IWUSR | IPC_CREAT | IPC_EXCL); 7769 if (sem < 0 && errno == EEXIST) 7770 continue; 7771 mIPCSem = sem; 7772 if (sem >= 0) 7773 { 7774 mIPCKey = BstrFmt ("%u", key); 7769 if (sem >= 0 || (errno != EEXIST && errno != EACCES)) 7770 { 7771 mIPCSem = sem; 7772 if (sem >= 0) 7773 mIPCKey = BstrFmt ("%u", key); 7775 7774 break; 7776 7775 }
Note:
See TracChangeset
for help on using the changeset viewer.