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 provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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)!