VirtualBox

Changeset 22884 in vbox for trunk/src/VBox/VMM/SSMInternal.h


Ignore:
Timestamp:
Sep 9, 2009 9:55:47 PM (15 years ago)
Author:
vboxsync
Message:

SSM: Added cancellation support (SSMR3Cancel). Needed by the state machinery as well as main.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/SSMInternal.h

    r22480 r22884  
    2626#include <VBox/types.h>
    2727#include <VBox/ssm.h>
     28#include <iprt/critsect.h>
    2829
    2930RT_C_DECLS_BEGIN
     
    266267    /** For lazy init. */
    267268    bool                    fInitialized;
     269    /** Critical section for serializing cancellation. */
     270    RTCRITSECT              CancelCritSect;
     271    /** The handle of the current save or load operation.
     272     * This is used by SSMR3Cancel.  */
     273    PSSMHANDLE volatile     pSSM;
    268274} SSM;
    269275/** Pointer to SSM VM instance data. */
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