Scheduler Locking

lock_sched, unlock_sched:
These functions are normally used by the user to disable the scheduler in order to access shared memory. This is a better option as compared to using critical regions as interrupts remain enabled so the microcontroller will be able to service them and return back to the same task. Locking the scheduler makes the scenario similar to a single task foreground/background system.

Back to DocumentationIndex or Kernel Functions

There are no comments on this page.
Creative Commons License
Micro RTOS Documentation by Aliasgar Lokhandwala is licensed under a Creative Commons Attribution-Non-Commercial-Share Alike 3.0 License.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki