1#ifndef _LOCK_H
2#define _LOCK_H
3
4#include <OS.h>
5
6#include <lock.h>
7
8typedef recursive_lock lock;
9
10#define	LOCK(l)		recursive_lock_lock(&l);
11#define	UNLOCK(l)	recursive_lock_unlock(&l);
12
13#endif
14