ThingWorx Edge C SDK > Porting to Another Platform > Synchronization Functions
Synchronization Functions
The SDK may run in a multi-threaded or multitasking environment. Therefore, it is important to protect access to certain data structures. The functions described in the following table provide such access protection. While they may be stubbed out in a single-tasking environment, it is highly recommended that these functions be fully implemented with whatever facility your OS provides. Note that functions using the TW_MUTEX typedef assume that this will be a pointer to whatever structure or synchronization mechanism you wish to use.
Create a synchronization entity.
Delete a synchronization entity and free up its memory.
Lock the synchronization entity.
Unlock the synchronization entity.
For more information about these functions, refer to the Doxygen documentation provided with the SDK bundle.