kern
annotate src/mutex.h @ 98:921a264297a4
merged the filesystem stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 17 Apr 2014 17:03:30 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@86 | 1 #ifndef MUTEX_H_ |
nuclear@86 | 2 #define MUTEX_H_ |
nuclear@86 | 3 |
nuclear@86 | 4 typedef unsigned int mutex_t; |
nuclear@86 | 5 |
nuclear@86 | 6 void mutex_lock(mutex_t *m); |
nuclear@86 | 7 void mutex_unlock(mutex_t *m); |
nuclear@86 | 8 |
nuclear@86 | 9 int mutex_trylock(mutex_t *m); |
nuclear@86 | 10 |
nuclear@86 | 11 #endif /* MUTEX_H_ */ |