From a6b83118123f6281d0cad123aebcf5d20be6dd68 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 3 Nov 2007 13:43:05 +0000 Subject: Introducing first tools to make opentracker multithreaded. --- mutex.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mutex.h (limited to 'mutex.h') diff --git a/mutex.h b/mutex.h new file mode 100644 index 0000000..8d91ab3 --- /dev/null +++ b/mutex.h @@ -0,0 +1,13 @@ +/* This software was written by Dirk Engling + It is considered beerware. Prost. Skol. Cheers or whatever. */ + +#ifndef __MUTEX_H__ +#define __MUTEX_H__ + +void mutex_init( ); +void mutex_deinit( ); + +void mutex_bucket_lock( int bucket ); +void mutex_bucket_unlock( int bucket ); + +#endif -- cgit v1.2.3