Simple Cooperative Scheduler Download

Fill in the below information to accept the terms and conditions of downloading the “Simple Cooperative Scheduler”.  This scheduler includes example modules for

  • Cooperative scheduler algorithm (in main.c)
  • Scheduler definitions (scheduler.h)
  • Task configuration (tsk_cfg.h and tsk_cfg.c)
  • Example System Tick definition (sys_tick module)
  • Example Tasks

THIS SOFTWARE IS PROVIDED BY BENINGO ENGINEERING “AS IS” AND ANY EXPRESSED
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL BENINGO ENGINEERING OR ITS CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

3 thoughts on “Simple Cooperative Scheduler Download”

  1. Hi Jacob,

    What will happen when the ‘tick’ variable rolls over from 2^32 back to zero again ? Won’t there be a wobble in the scheduling ?

    Great scheduler by the way. I’ve ported it over to an ADI device.

    thanks
    Mike

    1. On the roll-over the mathematics still work out so that the count is correct. You can always test this yourself by creating a start tick-value that is near the roll-over.

Leave a Reply

Your email address will not be published. Required fields are marked *