https://github.com/halide/Halide
Raw File
Tip revision: 37b34983d563cb91a64e2d1e591860ff53c88eeb authored by Aelphy on 03 June 2024, 12:48:45 UTC
[xtensa] added support of int8x64
Tip revision: 37b3498
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