Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoSystem_LockState | ( | GoSystem | system | ) |

Lock the system state to ensure thread safety while reading/modifying the GoSystem class's list of sensors.

Call this to lock the state before retrieving and using sensor object handles to ensure the sensor object is not deleted because another thread refreshed the system.

Version
  Introduced in firmware 5.1.6.0

Parameters

  system | GoSystem object.

Returns
  Operation status.