fiber
fiber copied to clipboard
userland threads
Hi there, I am currently researching the behavior of non-blocking code such as boost::fiber under different scheduling mechanisms. One such mechanism is the symmetric transfer, wherein one fiber is suspended...
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information. This PR depends on the following other...
There should be a way to calculate hash over `fiber::id` (just like for [`std::thread::id`](https://en.cppreference.com/w/cpp/thread/thread/id/hash)). `fiber::id` has a pointer to context, which can be used to calculate hash. This can significantly...
fix #314 , compile error when used as shared library on windows with MSVC.
Trick from Boost.Stacktrace https://github.com/boostorg/stacktrace/blob/0a1f8ac9a0caf250753411e82c645f750ba99317/include/boost/stacktrace/frame.hpp#L34 Closes #321
Hi, In #111 you did write that the implementation of buffered_channel does rely on the fact that the capacity is a power of two. In the meantime, the implementation has...
I have a pool of worker threads and I want to schedule fibers onto this pool from the main thread, without running any of these worker fibers on the main...
I use “x86_64-14.1.0-release-posix-seh-ucrt-rt_v12-rev0” to build boost-fiber like this: `./b2 --prefix=E:/x86_64-14.1.0-release-posix-seh-ucrt-rt_v12-rev0/mingw64 toolset=gcc-custom --with-fiber address-model=64 variant=release link=shared` and in project-config.jam, there is ```jam # Boost.Build Configuration # Automatically generated by bootstrap.bat import...
I have a use case where I need a fiber_specific_ptr that is just an observer, and should not delete the object when the fiber completes. A built-in no-op cleanup function...