MEL
Microthread & Execution library
mel::tasking::CriticalSection_mthread< multithread > Class Template Reference

A critical section for synchronizing microthreads (AKA Process) More...

#include <CriticalSection_mthread.h>

Public Member Functions

bool enter ()
 
void leave ()
 

Detailed Description

template<bool multithread = true>
class mel::tasking::CriticalSection_mthread< multithread >

A critical section for synchronizing microthreads (AKA Process)

Member Function Documentation

◆ enter()

template<bool multithread = true>
bool mel::tasking::CriticalSection_mthread< multithread >::enter ( )

wait for critical section and enter

Returns
if false, then can't eneter critical section (becausee process kill, for example)
Remarks
mejorar valor de salida, para tener algo ahora

The documentation for this class was generated from the following file: