VirtualBox

Ignore:
Timestamp:
Apr 27, 2015 12:52:19 PM (10 years ago)
Author:
vboxsync
Message:

lockvalidator.cpp: Added a couple of todos wrt deleting owned locks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp

    r45110 r55446  
    30003000    rtLockValidatorSerializeDestructEnter();
    30013001
     3002    /** @todo Check that it's not on our stack first.  Need to make it
     3003     *        configurable whether deleting a owned lock is acceptable? */
     3004
    30023005    ASMAtomicWriteU32(&pRec->Core.u32Magic, RTLOCKVALRECEXCL_MAGIC_DEAD);
    30033006    ASMAtomicWriteHandle(&pRec->hThread, NIL_RTTHREAD);
     
    34673470{
    34683471    Assert(pRec->Core.u32Magic == RTLOCKVALRECSHRD_MAGIC);
     3472
     3473    /** @todo Check that it's not on our stack first.  Need to make it
     3474     *        configurable whether deleting a owned lock is acceptable? */
    34693475
    34703476    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette