VirtualBox

Ignore:
Timestamp:
Aug 7, 2009 3:26:56 PM (15 years ago)
Author:
vboxsync
Message:

iprt/r0drv/solaris: context assertions (RT_MORE_STRICT).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/thread-r0drv-solaris.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r21595 r22073  
    3434*******************************************************************************/
    3535#include "the-solaris-kernel.h"
     36#include "internal/iprt.h"
     37#include <iprt/thread.h>
    3638
    37 #include <iprt/thread.h>
    3839#include <iprt/asm.h>
    3940#include <iprt/assert.h>
    4041#include <iprt/err.h>
     42
    4143
    4244
     
    5153    clock_t cTicks;
    5254    unsigned long timeout;
     55    RT_ASSERT_PREEMPTIBLE();
    5356
    5457    if (!cMillies)
     
    9699RTDECL(bool) RTThreadYield(void)
    97100{
     101    RT_ASSERT_PREEMPTIBLE();
    98102    return vbi_yield();
    99103}
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