https://github.com/halide/Halide
Raw File
Tip revision: 57ce5a49cd9ce7513c856b0e52843ab1071cc78b authored by Steven Johnson on 31 March 2023, 17:01:53 UTC
Move Xtensa from Feature to Arch
Tip revision: 57ce5a4
windows_yield.cpp
#include "runtime_internal.h"

#ifdef BITS_64
#define WIN32API
#else
#define WIN32API __stdcall
#endif

extern "C" WIN32API int32_t Sleep(int32_t timeout);

extern "C" WEAK void halide_thread_yield() {
    Sleep(0);
}
back to top