aboutsummaryrefslogtreecommitdiff
path: root/tasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'tasks.h')
-rw-r--r--tasks.h9
1 files changed, 9 insertions, 0 deletions
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)