sc/mutex/mutex_example.c
2020-11-11 01:19:49 +03:00

16 lines
215 B
C

#include "sc_mutex.h"
int main(int argc, char *argv[])
{
struct sc_mutex mutex;
sc_mutex_init(&mutex);
sc_mutex_lock(&mutex);
sc_mutex_unlock(&mutex);
sc_mutex_term(&mutex);
return 0;
}