VirtualBox

Ignore:
Timestamp:
Aug 7, 2009 9:45:48 AM (15 years ago)
Author:
vboxsync
Message:

IPRT: RT_MORE_STRICT for r0rdv and r0drv/darwin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/thread2-r0drv-darwin.cpp

    r8245 r22052  
    2929 */
    3030
     31
    3132/*******************************************************************************
    3233*   Header Files                                                               *
    3334*******************************************************************************/
    3435#include "the-darwin-kernel.h"
     36#include "internal/iprt.h"
    3537#include <iprt/thread.h>
     38
     39#include <iprt/asm.h>
     40#include <iprt/assert.h>
    3641#include <iprt/err.h>
    37 #include <iprt/assert.h>
    3842#include "internal/thread.h"
    3943
     
    102106            return VERR_INVALID_PARAMETER;
    103107    }
     108    RT_ASSERT_INTS_ON();
    104109
    105110    /*
     
    156161int rtThreadNativeCreate(PRTTHREADINT pThreadInt, PRTNATIVETHREAD pNativeThread)
    157162{
     163    RT_ASSERT_PREEMPTIBLE();
     164
    158165    thread_t NativeThread;
    159166    kern_return_t kr = kernel_thread_start(rtThreadNativeMain, pThreadInt, &NativeThread);
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