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
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
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)!