VirtualBox

Ignore:
Timestamp:
Feb 26, 2009 1:10:37 PM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: disconnect hgcm clients when process owning file handle is terminated (public bug #3243)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest_Internal.h

    r13483 r17163  
    4949#endif
    5050
     51#include <iprt/spinlock.h>
     52
    5153#include <VBox/VBoxGuest.h>
    5254
     
    198200    VMMDevEvents *irqAckEvents;
    199201
     202#ifdef VBOX_WITH_HGCM
     203    /** Spinlock various items in the VBOXGUESTSESSION. */
     204    RTSPINLOCK SessionSpinlock;
     205#endif
    200206
    201207    struct
     
    221227} winVersion_t;
    222228extern winVersion_t winVersion;
     229
     230#ifdef VBOX_WITH_HGCM
     231/**
     232 * The VBoxGuest per session data.
     233 *
     234 * @remark  Just to store hgcm ID's, perhaps could combine with one from common/VBoxGuest/vboxguestinternal.h?
     235 */
     236typedef struct VBOXGUESTSESSION
     237{
     238    /** Array containing HGCM client IDs associated with this session.
     239     * This will be automatically disconnected when the session is closed. */
     240    uint32_t volatile           aHGCMClientIds[8];
     241} VBOXGUESTSESSION, *PVBOXGUESTSESSION;
     242#endif
    223243
    224244extern "C"
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