GuillemCastro / rt-data

rt-data is a data acquisition framework for embedded and IoT systems
GNU Lesser General Public License v3.0
1 stars 1 forks source link

Broker and Sensor using real-time policies #9

Closed GuillemCastro closed 5 years ago

GuillemCastro commented 5 years ago

Until now Broker and Sensor used std::thread instances. Now they use rt-data's Thread instances with the SchedulingPolicy::RT_ROUND_ROBIN policy. This way their threads will get more CPU time.

Also, two new methods added to check the scheduling policy and priority of the current thread without having to ask to a Thread instance.

Fixes issue #8