magic.lambda.threading
This project contains all thread related slots for Hyperlambda. Threading in software development implies doing multiple things concurrently, scheduling CPU time for each of your threads, creating the illusion of having your computer doing multiple times concurrently. This concept is often referred to as “multi tasking” and is crucial for any modern operating system, and/or programming language. Hyperlambda contains several multi tasking related slots.
- [fork] - Executes lambda in a separate thread pool work item
- [join] - Waits for descendant forks to complete
- [semaphore] - Synchronizes concurrent access to shared resources
- [sleep] - Suspends the current execution for a number of milliseconds
- [execution.kill] - Cancels another running execution by its execution id
- [execution.timeout] - Configures a timeout for the current execution context
- [execution.throttle.create] - Creates, replaces or deletes a named throttle
- [execution.throttle] - Enforces a named throttle, rate limiting invocations