aboutsummaryrefslogtreecommitdiff
path: root/include/util/lock.h
blob: 78add88f87a94f87e2cebd4f515d94177bd50824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef UTIL_LOCK_H
#define UTIL_LOCK_H

#include <util/mutex.h>

struct Lock {
	unsigned long pid;
} __attribute__((packed, aligned(4)));

struct Lock* create_lock(void);

#endif