axle OS
x86_32 UNIX-like hobby OS
src
kernel
util
mutex
mutex.h
1
#ifndef MUTEX_H
2
#define MUTEX_H
3
4
typedef
struct
lock_t
{
5
int
flag;
6
}
lock_t
;
7
8
lock_t
* lock_create();
9
void
lock(
lock_t
* lock);
10
void
unlock(
lock_t
* lock);
11
12
#endif
lock_t
Definition:
mutex.h:4
Generated by
1.8.14