From 43d0bb8e3997022e5270f7f75f615a47819c929e Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Tue, 1 May 2012 23:48:56 +0200 Subject: Basic object system - THIS IS STILL A LONG WAY TO GO!! --- src/common/include/sched.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/include/sched.h') diff --git a/src/common/include/sched.h b/src/common/include/sched.h index 0f8f8f4..1012116 100644 --- a/src/common/include/sched.h +++ b/src/common/include/sched.h @@ -7,6 +7,7 @@ #define MUTEX_UNLOCKED 0 //A mutex is just an uint32_t +typedef uint32_t mutex_t; int mutex_lock(uint32_t* mutex); //wait for mutex to be free int mutex_lockE(uint32_t* mutex); //lock mutex only if free, returns !0 if locked, 0 if was busy -- cgit v1.2.3