Changeset 25618 in vbox for trunk/include
- Timestamp:
- Jan 2, 2010 12:00:33 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56309
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/lockvalidator.h
r25617 r25618 434 434 435 435 /** 436 * Do deadlock detection before blocking on exclusive access to a lock. 437 * 438 * @retval VINF_SUCCESS 436 * Do deadlock detection before blocking on exclusive access to a lock and 437 * change the thread state. 438 * 439 * @retval VINF_SUCCESS - thread is in the specified sleep state. 439 440 * @retval VERR_SEM_LV_DEADLOCK if blocking would deadlock. Gone thru the 440 441 * motions. … … 450 451 * @param pSrcPos The source position of the lock operation. 451 452 * @param fRecursiveOk Whether it's ok to recurse. 453 * @param enmSleepState The sleep state to enter on successful return. 452 454 */ 453 455 RTDECL(int) RTLockValidatorRecExclCheckBlocking(PRTLOCKVALRECEXCL pRec, RTTHREAD hThreadSelf, 454 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk); 456 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk, 457 RTTHREADSTATE enmSleepState); 455 458 456 459 /** … … 463 466 * @param pSrcPos The source position of the lock operation. 464 467 * @param fRecursiveOk Whether it's ok to recurse. 468 * @param enmSleepState The sleep state to enter on successful return. 465 469 */ 466 470 RTDECL(int) RTLockValidatorRecExclCheckOrderAndBlocking(PRTLOCKVALRECEXCL pRec, RTTHREAD hThreadSelf, 467 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk); 471 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk, 472 RTTHREADSTATE enmSleepState); 468 473 469 474 /** … … 509 514 510 515 /** 511 * Do deadlock detection before blocking on shared access to a lock. 512 * 513 * @retval VINF_SUCCESS 516 * Do deadlock detection before blocking on shared access to a lock and change 517 * the thread state. 518 * 519 * @retval VINF_SUCCESS - thread is in the specified sleep state. 514 520 * @retval VERR_SEM_LV_DEADLOCK if blocking would deadlock. Gone thru the 515 521 * motions. … … 525 531 * @param pSrcPos The source position of the lock operation. 526 532 * @param fRecursiveOk Whether it's ok to recurse. 533 * @param enmSleepState The sleep state to enter on successful return. 527 534 */ 528 535 RTDECL(int) RTLockValidatorRecSharedCheckBlocking(PRTLOCKVALRECSHRD pRec, RTTHREAD hThreadSelf, 529 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk); 536 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk, 537 RTTHREADSTATE enmSleepState); 530 538 531 539 /** … … 540 548 */ 541 549 RTDECL(int) RTLockValidatorRecSharedCheckOrderAndBlocking(PRTLOCKVALRECSHRD pRec, RTTHREAD hThreadSelf, 542 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk); 550 PCRTLOCKVALSRCPOS pSrcPos, bool fRecursiveOk, 551 RTTHREADSTATE enmSleepState); 543 552 544 553 /**
Note:
See TracChangeset
for help on using the changeset viewer.