kern

view src/mutex.h @ 90:7ff2b4971216

started work on the filesystem
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 09 Dec 2011 13:44:15 +0200
parents
children
line source
1 #ifndef MUTEX_H_
2 #define MUTEX_H_
4 typedef unsigned int mutex_t;
6 void mutex_lock(mutex_t *m);
7 void mutex_unlock(mutex_t *m);
9 int mutex_trylock(mutex_t *m);
11 #endif /* MUTEX_H_ */