FiberTaskingLib
FiberTaskingLib copied to clipboard
A library for enabling task-based multi-threading. It allows execution of task graphs with arbitrary dependencies.
C++17 deprecated `std::result_of`, C++20 removed it. I've switched nonius's usage of `std::result_of` to `std::invoke_result_t`
Closes #71
The idea being that we can use less atomic memory fetches / memory thrashing. Another approach would be to still use the array of atomic, but have the threads start...
Hi, Thank you for this awesome library. Is it possible to have emscripten support using its fiber library https://emscripten.org/docs/api_reference/fiber.h.html ?
Relax CompareExchange into Exchange for fibtexes; Introduce Set and Reset into AtomicCounter to support this; Cheapen spinning
In multiple places in the code, we switch based on the empty queue behavior and do different logic for each. Most prominantly, when FiberStart function fails to find a task...
Something to the effect of: Copyright 2020 by the FiberTaskingLib Contributors Similar for all the file headers. Then create a Contributors.txt file that lists all the contributors.
I have a file which contains functions to start/stop the global scheduler, and to return a forward-declared pointer to it. It turns out that I can't avoid the include in...
As we start to allocate more and more with various improvements, we need a way of getting an allocator in there. My ideal would be to use `std::polymorphic_allocator + std::memory_resource`...
This is a tracking issue for the problems that I am encountering with #66. If I run the fibtex test suite, eventually there will be a fiber in the fiber...