summaryrefslogtreecommitdiff
path: root/mutex.h
diff options
context:
space:
mode:
authorerdgeist <>2007-11-03 13:43:05 +0000
committererdgeist <>2007-11-03 13:43:05 +0000
commita6b83118123f6281d0cad123aebcf5d20be6dd68 (patch)
treef0a740363c251605fcc87a13aaa0658bc59d557a /mutex.h
parent8acc0ff48f675cf154987cfc11fe9ba7813eaf50 (diff)
Introducing first tools to make opentracker multithreaded.
Diffstat (limited to 'mutex.h')
-rw-r--r--mutex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mutex.h b/mutex.h
new file mode 100644
index 0000000..8d91ab3
--- /dev/null
+++ b/mutex.h
@@ -0,0 +1,13 @@
1/* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever. */
3
4#ifndef __MUTEX_H__
5#define __MUTEX_H__
6
7void mutex_init( );
8void mutex_deinit( );
9
10void mutex_bucket_lock( int bucket );
11void mutex_bucket_unlock( int bucket );
12
13#endif