Changeset 27509 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- Mar 18, 2010 11:47:16 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59012
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/poll-posix.cpp
r27503 r27509 184 184 * Set the busy flag and do the job. 185 185 */ 186 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_ WRONG_ORDER);186 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS); 187 187 188 188 int rc; … … 224 224 * Set the busy flag and do the job. 225 225 */ 226 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_ WRONG_ORDER);226 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS); 227 227 228 228 int rc = rtPollNoResumeWorker(pThis, cMillies, pfEvents, pid); … … 260 260 AssertPtrReturn(pThis, VERR_INVALID_HANDLE); 261 261 AssertReturn(pThis->u32Magic == RTPOLLSET_MAGIC, VERR_INVALID_HANDLE); 262 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_ WRONG_ORDER);262 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS); 263 263 264 264 ASMAtomicWriteU32(&pThis->u32Magic, ~RTPOLLSET_MAGIC); … … 293 293 * Set the busy flag and do the job. 294 294 */ 295 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_ WRONG_ORDER);295 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS); 296 296 297 297 int rc = VINF_SUCCESS; … … 407 407 * Set the busy flag and do the job. 408 408 */ 409 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_ WRONG_ORDER);409 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS); 410 410 411 411 int rc = VERR_POLL_HANDLE_ID_NOT_FOUND; … … 444 444 * Set the busy flag and do the job. 445 445 */ 446 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_ WRONG_ORDER);446 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS); 447 447 448 448 int rc = VERR_POLL_HANDLE_ID_NOT_FOUND; … … 465 465 466 466 467 RTDECL(uint32_t) RTPollSet Count(RTPOLLSET hPollSet)467 RTDECL(uint32_t) RTPollSetGetCount(RTPOLLSET hPollSet) 468 468 { 469 469 /*
Note:
See TracChangeset
for help on using the changeset viewer.