Skip to content

Instantly share code, notes, and snippets.

@MRobertEvers
Created October 19, 2018 20:46
Show Gist options
  • Save MRobertEvers/37f12dda657fcab44883c778b69113b8 to your computer and use it in GitHub Desktop.
Save MRobertEvers/37f12dda657fcab44883c778b69113b8 to your computer and use it in GitHub Desktop.
Operating System Notes

Synchronization Objects

Mutexes, Semaphores, etc. are provided by the operating system as a means of synchronization. Their behavior is handled by the operating system.

Normally, on windows/freeRTOS, the scheduler will not context switch into a thread that is waiting on a synchronization object.

See here for windows https://docs.microsoft.com/en-us/windows/desktop/procthread/context-switches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment