VirtualBox

Changeset 38743 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 13, 2011 2:54:35 PM (13 years ago)
Author:
vboxsync
Message:

Main: AutoMultiWriteLock4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/com/AutoLock.h

    r38717 r38743  
    608608};
    609609
     610/**
     611 * A multi-write-lock containing four other write locks.
     612 *
     613 */
     614class AutoMultiWriteLock4 : public AutoWriteLockBase
     615{
     616public:
     617    AutoMultiWriteLock4(Lockable *pl1,
     618                        Lockable *pl2,
     619                        Lockable *pl3,
     620                        Lockable *pl4
     621                        COMMA_LOCKVAL_SRC_POS_DECL);
     622    AutoMultiWriteLock4(LockHandle *pl1,
     623                        LockHandle *pl2,
     624                        LockHandle *pl3,
     625                        LockHandle *pl4
     626                        COMMA_LOCKVAL_SRC_POS_DECL);
     627
     628    virtual ~AutoMultiWriteLock4()
     629    {
     630        cleanup();
     631    }
     632};
     633
    610634} /* namespace util */
    611635
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