distortos  v0.6.0
object-oriented C++ RTOS for microcontrollers
C-API-ConditionVariable.cpp File Reference

Implementation of C-API for distortos::ConditionVariable. More...

Include dependency graph for C-API-ConditionVariable.cpp:

Functions

int distortos_ConditionVariable_construct (distortos_ConditionVariable *const conditionVariable)
 C-API equivalent of distortos::ConditionVariable's constructor. More...
 
int distortos_ConditionVariable_destruct (distortos_ConditionVariable *const conditionVariable)
 C-API equivalent of distortos::ConditionVariable's destructor. More...
 
int distortos_ConditionVariable_notifyAll (distortos_ConditionVariable *const conditionVariable)
 C-API equivalent of distortos::ConditionVariable::notifyAll() More...
 
int distortos_ConditionVariable_notifyOne (distortos_ConditionVariable *const conditionVariable)
 C-API equivalent of distortos::ConditionVariable::notifyOne() More...
 
int distortos_ConditionVariable_wait (distortos_ConditionVariable *const conditionVariable, distortos_Mutex *const mutex)
 C-API equivalent of distortos::ConditionVariable::wait() More...
 
int distortos_ConditionVariable_waitFor (distortos_ConditionVariable *const conditionVariable, distortos_Mutex *const mutex, const int64_t duration)
 C-API equivalent of distortos::ConditionVariable::waitFor() More...
 
int distortos_ConditionVariable_waitUntil (distortos_ConditionVariable *const conditionVariable, distortos_Mutex *const mutex, const int64_t timePoint)
 C-API equivalent of distortos::ConditionVariable::waitUntil() More...
 

Detailed Description

Implementation of C-API for distortos::ConditionVariable.

Author
Copyright (C) 2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.