https://github.com/halide/Halide
Raw File
Tip revision: 96efd01fa9fa9cef1a02749e8e8e154d782189b3 authored by Tzu-Mao Li on 01 April 2020, 21:09:38 UTC
Comments and remove unused code
Tip revision: 96efd01
osx_yield.cpp
#include "runtime_internal.h"

extern "C" int swtch_pri(int);

namespace Halide {
namespace Runtime {
namespace Internal {

WEAK void halide_thread_yield() {
    swtch_pri(0);
}

}  // namespace Internal
}  // namespace Runtime
}  // namespace Halide
back to top