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
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.