VirtualBox

Changeset 48297 in vbox for trunk/doc/manual


Ignore:
Timestamp:
Sep 5, 2013 9:57:44 AM (11 years ago)
Author:
vboxsync
Message:

Main/Medium: redesign API level medium locking, needed conversions from MediaList to MediumLockLists in several places, forced cleanups elsewhere, too
Main/Token: introduced token objects for controlling the unlocking, will be used as a general concept in the future
Main/Snapshot: snapshot deletion needed significant cleanups as it was still using many shortcuts, directly calling the API to lock media instead of using lock lists. Now much better, and the online snapshot deletion is also a lot cleaner as it no longer passes unnecessary parameters around which are already known in the machine/snapshot code
Main/MediumLock: small improvements, now has a mode which skips locking already locked media, needed by the Snapshot code where we have overlapping lock lists and have to update the original one instead
Main/Console+Session+Machine: follow-up changes for the online snapshot merging parameter passing simplification, plus an unrelated lock order violation fix in Machine which happens only for inaccessible machines
Main/testcase: update correspondingly
doc: update SDK reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/SDKRef.xml

    r47980 r48297  
    35313531      <itemizedlist>
    35323532        <listitem>
     3533          <para>The explicit medium locking methods
     3534            <xref linkend="IMedium__lockRead" xreflabel="IMedium::lockRead()" />
     3535            and <xref linkend="IMedium__lockWrite" xreflabel="IMedium::lockWrite()" />
     3536            have been redesigned. They return a lock token object reference
     3537            now, and calling the <xref linkend="IToken__abandon"
     3538              xreflabel="IToken::abandon()" /> method (or letting the reference
     3539            count to this object drop to 0) will unlock it. This eliminates
     3540            the rather common problem that an API client crash left behind
     3541            locks, and also improves the safety (API clients can't release
     3542            locks they didn't obtain).</para>
     3543        </listitem>
     3544
     3545        <listitem>
    35333546          <para><computeroutput>IMachine::delete</computeroutput>
    35343547          has been renamed to <xref linkend="IMachine__deleteConfig"
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