TWCOS Kernel

Synchronisation
Login

Because the kernel is threaded, and threads do what they do otherwise independently of one another, access to shared resources must be synchronised to prevent race conditions and inconsistent data.

The kernel provides a number of synchronisation mechanisms, depending on the usage scenario.