diff options
| author | erdgeist <> | 2007-11-03 13:43:05 +0000 |
|---|---|---|
| committer | erdgeist <> | 2007-11-03 13:43:05 +0000 |
| commit | a6b83118123f6281d0cad123aebcf5d20be6dd68 (patch) | |
| tree | f0a740363c251605fcc87a13aaa0658bc59d557a /mutex.h | |
| parent | 8acc0ff48f675cf154987cfc11fe9ba7813eaf50 (diff) | |
Introducing first tools to make opentracker multithreaded.
Diffstat (limited to 'mutex.h')
| -rw-r--r-- | mutex.h | 13 |
1 files changed, 13 insertions, 0 deletions
| @@ -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 | |||
| 7 | void mutex_init( ); | ||
| 8 | void mutex_deinit( ); | ||
| 9 | |||
| 10 | void mutex_bucket_lock( int bucket ); | ||
| 11 | void mutex_bucket_unlock( int bucket ); | ||
| 12 | |||
| 13 | #endif | ||
