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.
Features
- 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
License
BSD LicenseFollow XMOS XS-1 Context Switching (V-Threads)
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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)!