1#ifndef XF_IDF_STM32_MUTEX_H
2#define XF_IDF_STM32_MUTEX_H
4#include <config/xf-config.h>
6#if (USE_XF_IDF_STM32_MUTEX_CLASS != 0)
9#include "xf/interface/mutex.h"
32 bool tryLock(int32_t timeout = 0)
override;
Default Qt implementation for the XFEventQueue interface.
Definition: eventqueue.h:22
Default Qt implementation for the XFMutex interface.
Definition: mutex.h:20
void lock() override
Blocks until the mutex becomes available.
XFMutex()=default
Do not allow to directly create an object of this class. Call interface::XFMutex::create() instead.
bool tryLock(int32_t timeout=0) override
Tries to get the mutex.
void unlock() override
Releases the mutex so it can be taken by other threads.
Mutex interface needed by the XF to access a mutex.
Definition: mutex.h:18