https://github.com/halide/Halide
Raw File
Tip revision: 54baae34c5bb8dfbec8461434b0cbf3b6a2ca747 authored by Alexander Root on 10 May 2021, 16:13:01 UTC
update with incremental synthesis + general updates
Tip revision: 54baae3
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