https://github.com/halide/Halide
Raw File
Tip revision: 96305ca867d29b03e53d927d2ef6df05a8692bb3 authored by Steven Johnson on 24 September 2020, 20:00:29 UTC
Merge branch 'master' into vksnk/compute_with_async
Tip revision: 96305ca
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