VirtualBox

Ignore:
Timestamp:
Jun 11, 2012 10:30:54 AM (13 years ago)
Author:
vboxsync
Message:

VBoxGuest: Use the EventSpinlock when setting the mouse callback and made the ISR take down the callback info while owning that spinlock. Cleanups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h

    r41640 r41642  
    167167     * together inside the session spinlock. */
    168168    uint32_t volatile           fMouseStatus;
    169     /** Callback and user data for a kernel mouse handler. */
    170     VBoxGuestMouseSetNotifyCallback volatile MouseSetNotifyCallback;
    171169    /** Counter of number of active ISRs.  Currently used for safely removing
    172170     * the mouse handler callback. */
    173171    uint32_t volatile           cISR;
     172    /** Callback and user data for a kernel mouse handler. */
     173    VBoxGuestMouseSetNotifyCallback MouseNotifyCallback;
    174174
    175175    /** Windows part. */
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