Multithreaded Programming Guide

mutex_lock Syntax

#include <thread.h>

int mutex_lock(mutex_t *mp);