https://github.com/halide/Halide
Raw File
Tip revision: 9579767fcdbd53189769a44084efcde3c827aee8 authored by Alexander Root on 12 July 2021, 16:08:01 UTC
add constant bounds methods
Tip revision: 9579767
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