Implementation of virtual threads for the XS-1. Currently a simple context switching implementation for the XMOS XS-1 architecture (Gn, Ln products). Allows a user to run low speed processes on a single thread using time sliced scheduling.


  • Can initialise vThreads
  • Context switch occurs on Timer Interrupt (Time Sliced Scheduling)
  • Functions to allow atomic operations
  • Todo: Call to allocate stack space to vthread
  • Todo: Event support
  • Todo: More flexible vthread params (ports, chans, etc)
  • Todo: On demand context switch

Project Activity

See All Activity >


BSD License

Follow XMOS XS-1 Context Switching (V-Threads)

XMOS XS-1 Context Switching (V-Threads) Web Site

Other Useful Business Software

Join us at Talend Connect! Icon
Join us at Talend Connect! Icon

Get your tickets to the best data-driven event of the year!

May 7 – May 9. Use discount code TCCommunity2018 for $200 off.

Rate This Project

Login To Rate This Project

User Reviews

Be the first to post a review of XMOS XS-1 Context Switching (V-Threads)!

Additional Project Details

Intended Audience


Programming Language

Assembly, C