Search found 1 match

by fletchpipkin
Mon Mar 02, 2026 1:51 am
Forum: General Discussion
Topic: Concurrency
Replies: 1
Views: 62

Concurrency

Sema4.h
#ifndef SEMA4_H__
#define SEMA4_H__

#include "freertos/semphr.h"
/*
* Handy class to provide single access to something.
* Usage:
* In your class add:
*
* CSema4 m_MySema4;
*
* When you need protected access:
*
* Locker myLock(m_MySema4); -- constructor
* {
* -- protected stuff ...

Go to advanced search