
User-Space Threads Library
C implementation of a user-space threading library with optional preemption, priority handling, tests, Valgrind checks, and performance graphs.
Tech Stack
C
Systems-level implementation of the threading library
Python
Performance-graph generation and tooling support
Architecture
Low-level systems project centered on a C implementation of the threading runtime, supported by a test suite, installation outputs, and a Python tool for performance visualization. Build-time macros switch between feature variants such as preemption, priorities, and pthread comparison.
Key Features
- User-space thread library running on top of a single kernel thread
- Optional preemption and thread priorities enabled through Makefile flags
- Dedicated test suite with pthread comparison targets
- Valgrind execution for memory validation
- Performance graph generation through Python tooling
- Install target producing binaries and a shared library