Results 1 to 2 of 2

Thread: MicroC/OS-II Scheduler

  1. #1
    Join Date
    Nov 2005
    Posts
    8
    Rep Power
    1

    Default

    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.

  2. #2
    Join Date
    Sep 2016
    Posts
    2
    Rep Power
    1

    Default Re: MicroC/OS-II Scheduler

    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>

Similar Threads

  1. ISR using MicroC OS
    By Altera in forum MicroC/OS-II Forum
    Replies: 1
    Last Post: September 17th, 2009, 12:57 AM
  2. Time taken by eCos Scheduler
    By nios_ssp in forum ecos Forum
    Replies: 0
    Last Post: June 27th, 2006, 09:49 AM
  3. Time taken by the scheduler in eCos
    By nios_ssp in forum ecos Forum
    Replies: 0
    Last Post: April 10th, 2006, 12:52 PM
  4. Number of clock ticks required by scheduler
    By nios_ssp in forum ecos Forum
    Replies: 2
    Last Post: April 6th, 2006, 12:04 PM
  5. Scheduler function of eCos
    By nios_ssp in forum ecos Forum
    Replies: 2
    Last Post: December 22nd, 2005, 01:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •