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
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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)!