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

Project Activity

See All Activity >

License

BSD License

Follow XMOS XS-1 Context Switching (V-Threads)

XMOS XS-1 Context Switching (V-Threads) Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start 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)!

Additional Project Details

Intended Audience

Developers

Programming Language

Assembly, C

Related Categories

Assembly Operating System Kernels, Assembly Embedded Systems Software, C Operating System Kernels, C Embedded Systems Software

Registered

2010-01-31