1#ifndef HALIDE_RUNTIME_SCOPED_MUTEX_LOCK_H
2#define HALIDE_RUNTIME_SCOPED_MUTEX_LOCK_H
This file declares the routines used by Halide internally in its runtime.
void halide_mutex_lock(struct halide_mutex *mutex)
A basic set of mutex and condition variable functions, which call platform specific code for mutual e...
void halide_mutex_unlock(struct halide_mutex *mutex)
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
ALWAYS_INLINE ~ScopedMutexLock()
ALWAYS_INLINE ScopedMutexLock(halide_mutex *mutex)