Forum Discussion
Altera_Forum
Honored Contributor
20 years agoMicroC/OS-II Scheduler
Hi,
How can I totally disable the scheduler in MicroC/OS-II component? I am using the SOPC Builder to setup the MicroC/OS-II component for my system. I need to disable the scheduler because I am working on an alternative scheme to perform the scheduling. Thanks in advance.1 Reply
- Altera_Forum
Honored Contributor
Hi,
One way is to disable the scheduler until we are done. Use these functions: # OSSchedLock() <https://doc.micrium.com/pages/viewpage.action?pageId=16879606#id-%C2%B5C/OS-IIAPIReference-OSSchedLock%28%29> # OSSchedUnlock() <https://doc.micrium.com/pages/viewpage.action?pageId=16879606#id-%C2%B5C/OS-IIAPIReference-OSSchedUnlock%28%29>