From 4e773191d447ac434536262a6f204dd991d4ad77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 11 Nov 2015 15:26:01 +0100 Subject: tmp --- tasks.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tasks.h') diff --git a/tasks.h b/tasks.h index f773e17..60653b3 100644 --- a/tasks.h +++ b/tasks.h @@ -25,6 +25,15 @@ int8_t taskDelayTillT(int8_t *boolean, uin16_t us); void taskDelayTillF(int8_t (*fnc)(void)); void taskDelayTillFT(int8_t (*fnc)(void), uint16_t us); +struct Mutex { +}; +void takeMutex(void); +int8_t takeMutexT(uint16_t timeout); +void giveMutex(void); + +struct Semaphore { +}; + #else /* CONFIG_IOE_TASKS */ #define taskDelay(US) _delay_us(US) -- cgit v1.2.3