VirtualBox

Changeset 19906 in vbox for trunk/include/iprt/thread.h


Ignore:
Timestamp:
May 22, 2009 11:14:10 AM (16 years ago)
Author:
vboxsync
Message:

iprt/thread.h: RTThreadPreemptIsPending

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/thread.h

    r13832 r19906  
    395395 */
    396396RTDECL(bool) RTThreadPreemptIsEnabled(RTTHREAD hThread);
     397
     398/**
     399 * Check if preemption is pending for the current thread.
     400 *
     401 * This function should be called regularly when executing larger portions of
     402 * code with preemption disabled.
     403 *
     404 * @returns true if pending, false if not.
     405 * @param       hThread         Must be NIL_RTTHREAD for now.
     406 */
     407RTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread);
    397408
    398409/**
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