Changeset 62564 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- Jul 26, 2016 2:43:03 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109133
- Location:
- trunk/src/VBox/Runtime/r3/posix
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/allocex-r3-posix.cpp
r62477 r62564 105 105 DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags) 106 106 { 107 RT_NOREF_PV(fFlags); 107 108 munmap(pv, cb); 108 109 } -
trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp
r62477 r62564 79 79 RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode, uint32_t fCreate) 80 80 { 81 RT_NOREF_PV(fCreate); 82 81 83 int rc; 82 84 fMode = rtFsModeNormalize(fMode, pszPath, 0); -
trunk/src/VBox/Runtime/r3/posix/fs-posix.cpp
r62477 r62564 177 177 RTR3DECL(bool) RTFsIsCaseSensitive(const char *pszFsPath) 178 178 { 179 RT_NOREF_PV(pszFsPath); 179 180 #if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) 180 181 return false; -
trunk/src/VBox/Runtime/r3/posix/ldrNative-posix.cpp
r62477 r62564 123 123 int rtldrNativeLoadSystem(const char *pszFilename, const char *pszExt, uint32_t fFlags, PRTLDRMOD phLdrMod) 124 124 { 125 RT_NOREF_PV(pszFilename); RT_NOREF_PV(pszExt); RT_NOREF_PV(fFlags); RT_NOREF_PV(phLdrMod); 125 126 /** @todo implement this in some sensible fashion. */ 126 127 return VERR_NOT_SUPPORTED; -
trunk/src/VBox/Runtime/r3/posix/localipc-posix.cpp
r62477 r62564 1049 1049 RTDECL(int) RTLocalIpcSessionQueryProcess(RTLOCALIPCSESSION hSession, PRTPROCESS pProcess) 1050 1050 { 1051 RT_NOREF_PV(hSession); RT_NOREF_PV(pProcess); 1051 1052 return VERR_NOT_SUPPORTED; 1052 1053 } … … 1055 1056 RTDECL(int) RTLocalIpcSessionQueryUserId(RTLOCALIPCSESSION hSession, PRTUID pUid) 1056 1057 { 1058 RT_NOREF_PV(hSession); RT_NOREF_PV(pUid); 1057 1059 return VERR_NOT_SUPPORTED; 1058 1060 } … … 1061 1063 RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTGID pGid) 1062 1064 { 1065 RT_NOREF_PV(hSession); RT_NOREF_PV(pGid); 1063 1066 return VERR_NOT_SUPPORTED; 1064 1067 } -
trunk/src/VBox/Runtime/r3/posix/path-posix.cpp
r62477 r62564 302 302 RTR3DECL(int) RTPathUnlink(const char *pszPath, uint32_t fUnlink) 303 303 { 304 RT_NOREF_PV(pszPath); RT_NOREF_PV(fUnlink); 304 305 return VERR_NOT_IMPLEMENTED; 305 306 } -
trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp
r62477 r62564 314 314 rc = VERR_BUFFER_OVERFLOW; 315 315 } 316 #else 317 RT_NOREF_PV(hEnvToUse); RT_NOREF_PV(fFlags); RT_NOREF_PV(hEnv); 316 318 #endif 317 319 return rc; -
trunk/src/VBox/Runtime/r3/posix/semevent-posix.cpp
r61751 r62564 151 151 } 152 152 pThis->fEverHadSignallers = false; 153 #else 154 RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt); 153 155 #endif 154 156 … … 500 502 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 501 503 RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL); 504 #else 505 RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread); 502 506 #endif 503 507 } … … 514 518 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 515 519 RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL); 520 #else 521 RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread); 516 522 #endif 517 523 } … … 527 533 528 534 RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread); 529 #endif 530 } 531 535 #else 536 RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread); 537 #endif 538 } 539 -
trunk/src/VBox/Runtime/r3/posix/semeventmulti-posix.cpp
r61751 r62564 167 167 } 168 168 pThis->fEverHadSignallers = false; 169 #else 170 RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt); 169 171 #endif 170 172 … … 421 423 #else 422 424 RTTHREAD hThreadSelf = RTThreadSelf(); 425 RT_NOREF_PV(pSrcPos); 423 426 #endif 424 427 RTThreadBlocking(hThreadSelf, RTTHREADSTATE_EVENT_MULTI, true); … … 632 635 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 633 636 RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL); 637 #else 638 RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread); 634 639 #endif 635 640 } … … 646 651 ASMAtomicWriteBool(&pThis->fEverHadSignallers, true); 647 652 RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL); 653 #else 654 RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread); 648 655 #endif 649 656 } … … 659 666 660 667 RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread); 661 #endif 662 } 663 668 #else 669 RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread); 670 #endif 671 } 672 -
trunk/src/VBox/Runtime/r3/posix/semmutex-posix.cpp
r61751 r62564 149 149 va_end(va); 150 150 } 151 #else 152 RT_NOREF_PV(hClass); RT_NOREF_PV(uSubClass); RT_NOREF_PV(pszNameFmt); 151 153 #endif 152 154 … … 211 213 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass); 212 214 #else 215 RT_NOREF_PV(hMutexSem); RT_NOREF_PV(uSubClass); 213 216 return RTLOCKVAL_SUB_CLASS_INVALID; 214 217 #endif … … 256 259 hThreadSelf = RTThreadSelf(); 257 260 RTThreadBlocking(hThreadSelf, RTTHREADSTATE_MUTEX, true); 261 RT_NOREF_PV(pSrcPos); 258 262 #endif 259 263 } -
trunk/src/VBox/Runtime/r3/posix/semrw-posix.cpp
r61751 r62564 145 145 } 146 146 RTLockValidatorRecMakeSiblings(&pThis->ValidatorWrite.Core, &pThis->ValidatorRead.Core); 147 #else 148 RT_NOREF_PV(hClass); RT_NOREF_PV(uSubClass); RT_NOREF_PV(pszNameFmt); 147 149 #endif 148 150 *phRWSem = pThis; … … 215 217 return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorWrite, uSubClass); 216 218 #else 219 RT_NOREF_PV(hRWSem); RT_NOREF_PV(uSubClass); 217 220 return RTLOCKVAL_SUB_CLASS_INVALID; 218 221 #endif … … 264 267 hThreadSelf = RTThreadSelf(); 265 268 RTThreadBlocking(hThreadSelf, RTTHREADSTATE_RW_READ, true); 269 RT_NOREF_PV(pSrcPos); 266 270 #endif 267 271 } … … 459 463 hThreadSelf = RTThreadSelf(); 460 464 RTThreadBlocking(hThreadSelf, RTTHREADSTATE_RW_WRITE, true); 465 RT_NOREF_PV(pSrcPos); 461 466 #endif 462 467 } -
trunk/src/VBox/Runtime/r3/posix/symlink-posix.cpp
r62477 r62564 94 94 RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType, uint32_t fCreate) 95 95 { 96 RT_NOREF_PV(fCreate); 97 96 98 /* 97 99 * Validate the input. … … 132 134 RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete) 133 135 { 136 RT_NOREF_PV(fDelete); 137 134 138 char const *pszNativeSymlink; 135 139 int rc = rtPathToNative(&pszNativeSymlink, pszSymlink, NULL); … … 161 165 RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead) 162 166 { 167 RT_NOREF_PV(fRead); 168 163 169 char *pszMyTarget; 164 170 int rc = RTSymlinkReadA(pszSymlink, &pszMyTarget);
Note:
See TracChangeset
for help on using the changeset viewer.