Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Protected Read and Write

Pre-release
Pre-release
Compare
Choose a tag to compare
@ryanpoulos ryanpoulos released this 31 Jul 20:47
· 158 commits to master since this release

Changelog:

  • Added Protected Read and Write methods to the Pointer class. The protected methods first call a lock() method before accessing pointer data, and then an unlock() method once finished.
  • The lock and unlock methods are overridable, so child classes of the Pointer class can specify their own implementations for lock and unlock. The base class implementaiton uses a single-element RT FIFO as a mutex.