distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
requestFunctionExecution.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_ARCHITECTURE_REQUESTFUNCTIONEXECUTION_HPP_
13 #define INCLUDE_DISTORTOS_ARCHITECTURE_REQUESTFUNCTIONEXECUTION_HPP_
14 
15 namespace distortos
16 {
17 
18 namespace internal
19 {
20 
21 class ThreadControlBlock;
22 
23 } // namespace internal
24 
25 namespace architecture
26 {
27 
51 int requestFunctionExecution(internal::ThreadControlBlock& threadControlBlock, void (& function)());
52 
53 } // namespace architecture
54 
55 } // namespace distortos
56 
57 #endif // INCLUDE_DISTORTOS_ARCHITECTURE_REQUESTFUNCTIONEXECUTION_HPP_
int requestFunctionExecution(internal::ThreadControlBlock &threadControlBlock, void(&function)())
Requests execution of provided function in the specified thread.
Definition: ARMv6-M-ARMv7-M-requestFunctionExecution.cpp:295
Top-level namespace of distortos project.
Definition: buttons.hpp:33