The ulttiny library is small, easy to use and very fast. It's optimized especially for scenarios where tasks and task groups are dynamically and concurrently created on the fly.
Features
- User level threads (tasks) are executed in RtC mode (run to completion), no stack or context switching
- Dedicated mutex and barrier objects, which allow to synchronize tasks without blocking worker threads
- Distributed task scheduler with very low overhead
- Error handling and worker threads management is based on libcxc, so tasks can throw and catch exceptions
- Configurable CPU affinity - allows to run multiple ulttiny instances, each of which can use different set of CPU cores
- Blocking and non-blocking operating modes: i.e. the tasks can be processed in "background", without blocking main application thread or the main thread can be used as a worker thread (a blocking operation).
- All worker threads can be stopped at any time by issuing Stop_Request or Stop_Now command
Categories
LibrariesLicense
GNU Library or Lesser General Public License version 3.0 (LGPLv3)Follow ulttiny
Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.