https://github.com/halide/Halide
Raw File
Tip revision: 72224e1bd0bfe610b52aefefcf523fe1c029369b authored by Andrew Adams on 05 April 2021, 17:06:25 UTC
Add explicit cast to remove ambiguous operator== (Fixes #5329)
Tip revision: 72224e1
fuchsia_yield.cpp
#include "runtime_internal.h"

typedef int32_t zx_status_t;
typedef int64_t zx_time_t;
extern "C" zx_status_t zx_nanosleep(zx_time_t deadline);

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