aboutsummaryrefslogtreecommitdiff
path: root/tasks.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-11-11 15:26:01 +0100
committerKarel Kočí <cynerd@email.cz>2015-11-11 15:26:13 +0100
commit4e773191d447ac434536262a6f204dd991d4ad77 (patch)
treefd3e56c5e7478286f21aa1e808999a1a80179a9f /tasks.h
parent96d4026f492b56ac67779ab8e74ed4c483337ec7 (diff)
downloadavr-ioe-4e773191d447ac434536262a6f204dd991d4ad77.tar.gz
avr-ioe-4e773191d447ac434536262a6f204dd991d4ad77.tar.bz2
avr-ioe-4e773191d447ac434536262a6f204dd991d4ad77.zip
tmp
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)