Registry / async / stlab
library2.3.0vcpkgunverified

stlab is the ongoing work of what was Adobe Software Technology Lab. The Concurrency library provides futures and channels, high level constructs for implementing algorithms that eases the use of multiple CPU cores while minimizing contention. This library solves several problems of the C++11 and C++17 TS futures.

vcpkg install stlab
INSTALL
IMPORT
SIG · STLAB
S
stlab
asynccppv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

stlab/concurrency/default_executor.hpp
#include <stlab/concurrency/default_executor.hpp>

Basic future usage with stlab

#include <stlab/concurrency/default_executor.hpp> #include <stlab/concurrency/future.hpp> #include <iostream> int main() { auto f = stlab::async(stlab::default_executor, [] { return 42; }); f.then([](int v) { std::cout << v << std::endl; }); return 0; }
Debug
Known issues
gotchaHeader-only library, but requires C++17 or later
fix
Set CMAKE_CXX_STANDARD to 17 or higher
affects: *
Upgrade
Version history
2.3.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
Amazon
1
Resources

No resource links recorded.

stlab — pip install stlab · libregistry