blob: a50a035bdbf3c45f3edb745e0cd503bc72a5db4f [file] [log] [blame]
#include <runtime/mutex.h>
#include <threads.h>
int mtx_lock(mtx_t* m) {
zxr_mutex_lock((zxr_mutex_t*)&m->__i);
return thrd_success;
}