VirtualBox

Changeset 44502 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jan 31, 2013 8:11:08 PM (12 years ago)
Author:
vboxsync
Message:

PDM queue callback lock remarks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmqueue.h

    r39136 r44502  
    6666 * @param   pDevIns     The device instance.
    6767 * @param   pItem       The item to consume. Upon return this item will be freed.
     68 * @remarks The device critical section will NOT be entered before calling the
     69 *          back.  No locks will be held, but for now it's safe to assume that
     70 *          only one EMT will do queue callbacks at any one time.
    6871 */
    6972typedef DECLCALLBACK(bool) FNPDMQUEUEDEV(PPDMDEVINS pDevIns, PPDMQUEUEITEMCORE pItem);
     
    7881 * @param   pDevIns     The USB device instance.
    7982 * @param   pItem       The item to consume. Upon return this item will be freed.
     83 * @remarks No locks will be held, but for now it's safe to assume that only one
     84 *          EMT will do queue callbacks at any one time.
    8085 */
    8186typedef DECLCALLBACK(bool) FNPDMQUEUEUSB(PPDMUSBINS pUsbIns, PPDMQUEUEITEMCORE pItem);
     
    9095 * @param   pDrvIns     The driver instance.
    9196 * @param   pItem       The item to consume. Upon return this item will be freed.
     97 * @remarks No locks will be held, but for now it's safe to assume that only one
     98 *          EMT will do queue callbacks at any one time.
    9299 */
    93100typedef DECLCALLBACK(bool) FNPDMQUEUEDRV(PPDMDRVINS pDrvIns, PPDMQUEUEITEMCORE pItem);
     
    102109 * @param   pVM         The VM handle.
    103110 * @param   pItem       The item to consume. Upon return this item will be freed.
     111 * @remarks No locks will be held, but for now it's safe to assume that only one
     112 *          EMT will do queue callbacks at any one time.
    104113 */
    105114typedef DECLCALLBACK(bool) FNPDMQUEUEINT(PVM pVM, PPDMQUEUEITEMCORE pItem);
     
    114123 * @param   pvUser      User argument.
    115124 * @param   pItem       The item to consume. Upon return this item will be freed.
     125 * @remarks No locks will be held, but for now it's safe to assume that only one
     126 *          EMT will do queue callbacks at any one time.
    116127 */
    117128typedef DECLCALLBACK(bool) FNPDMQUEUEEXT(void *pvUser, PPDMQUEUEITEMCORE pItem);
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