https://github.com/halide/Halide
Raw File
Tip revision: 27ee25318ad467bbae71c146dc9637c3b967f4aa authored by Volodymyr Kysenko on 17 March 2021, 21:24:04 UTC
Use print_type function when printing vector type definitions, which can
Tip revision: 27ee253
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