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
Your top-rated shield against malware and online scams | Avast Free Antivirus
Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
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)!