add todo about dispatcher lock implementation

This commit is contained in:
aanper 2020-10-21 15:19:43 +03:00
parent 1595ec782e
commit b607e6e5f5

View File

@ -36,6 +36,7 @@ void dispatcher_send(Dispatcher* dispatcher, Message* message) {
assert(osMessageQueuePut(dispatcher->mqueue, message, 0, osWaitForever) == osOK);
}
// TODO: bad side-effect
void dispatcher_recieve(Dispatcher* dispatcher, Message* message) {
assert(dispatcher);
assert(message);