https://github.com/halide/Halide
Raw File
Tip revision: 3c4b9a38d48e77e11657fa67894d63d1e5027f22 authored by Steven Johnson on 19 July 2023, 20:49:43 UTC
Merge branch 'main' into vulkan-diagnose-alloc-failures
Tip revision: 3c4b9a3
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