VirtualBox

Changeset 59126 in vbox


Ignore:
Timestamp:
Dec 14, 2015 3:05:51 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104697
Message:

VMMR3EmtRendezvous: Added support for recursion of the ordered and unorded one-by-one rendezvous types. Not debugged yet.

Location:
trunk
Files:
2 edited

Legend:

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

    r58125 r59126  
    319319/** Invalid execution type. */
    320320#define VMMEMTRENDEZVOUS_FLAGS_TYPE_INVALID         UINT32_C(0)
    321 /** Let the EMTs execute the callback one by one (in no particular order). */
     321/** Let the EMTs execute the callback one by one (in no particular order).
     322 * Recursion from within the callback possible.  */
    322323#define VMMEMTRENDEZVOUS_FLAGS_TYPE_ONE_BY_ONE      UINT32_C(1)
    323 /** Let all the EMTs execute the callback at the same time. */
     324/** Let all the EMTs execute the callback at the same time.
     325 * Cannot recurse from the callback.  */
    324326#define VMMEMTRENDEZVOUS_FLAGS_TYPE_ALL_AT_ONCE     UINT32_C(2)
    325 /** Only execute the callback on one EMT (no particular one). */
     327/** Only execute the callback on one EMT (no particular one).
     328 * Cannot recurse from the callback.  */
    326329#define VMMEMTRENDEZVOUS_FLAGS_TYPE_ONCE            UINT32_C(3)
    327 /** Let the EMTs execute the callback one by one in ascending order. */
     330/** Let the EMTs execute the callback one by one in ascending order.
     331 * Recursion from within the callback possible. */
    328332#define VMMEMTRENDEZVOUS_FLAGS_TYPE_ASCENDING       UINT32_C(4)
    329 /** Let the EMTs execute the callback one by one in descending order. */
     333/** Let the EMTs execute the callback one by one in descending order.
     334 * Recursion from within the callback possible. */
    330335#define VMMEMTRENDEZVOUS_FLAGS_TYPE_DESCENDING      UINT32_C(5)
    331336/** Stop after the first error.
  • trunk/src/VBox/VMM/VMMR3/VMM.cpp

    r59124 r59126  
    21022102 *                          grp_VMMR3EmtRendezvous_fFlags.  The one-by-one,
    21032103 *                          descending and ascending rendezvous types support
    2104  *                          recursion.
     2104 *                          recursion from inside @a pfnRendezvous.
    21052105 * @param   pfnRendezvous   The callback.
    21062106 * @param   pvUser          User argument for the callback.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette