From 8cf780a60f7733875ce8d169ee7858149c2de1ec Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 25 Nov 2018 22:43:37 +0100 Subject: [PATCH] Update comment --- m-mutex.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m-mutex.h b/m-mutex.h index 1c69c4b5..12122fd4 100644 --- a/m-mutex.h +++ b/m-mutex.h @@ -350,6 +350,9 @@ static inline void m_oncei_call(m_oncei_t o, void (*func)(void)) #endif +// TODO: m_thread_sleep doesn't yield thread during waiting, making it a poor choice for active waiting. +// TODO: Obsolete M_LOCK macro. + /* M_LOCK macro. Allow simple locking encapsulation. USAGE: static M_LOCK_DECL(name);