Forum Rule: Always post complete source code & details to reproduce any issue!
Page 18 of 18 FirstFirst ... 8 16 17 18
Results 426 to 428 of 428

Thread: Teensy 3.x multithreading library first release

  1. #426
    Senior Member
    Join Date
    Dec 2016
    Montreal, Canada
    Dont know if this also helps, but the time slices of each thread can be changed which affects how long task switching stays in that thread, i had to adjust my time slices when i ran multiple uart displays in previous project to stop jittering

  2. #427
    Senior Member
    Join Date
    May 2015
    Fernando, thanks for making this. It certainly makes for better looking multitasking code. My simple test runs fine on teensy 4.0.

  3. #428
    Junior Member
    Join Date
    Mar 2020
    Any thoughts on setting a very large time slice to do cooperative multi-tasking with TeensyThreads?

    I needed yield-based cooperative multitasking that works on both Teensy 3 and Teensy 4, and so far this seems to work well. Thanks for the fine work!

    Maybe this could be turned into a feature, and avoid the 1000th-hour overflow-of-doom...

Posting Permissions

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