Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ConorWilliams/libfork
/ functions
Functions
705 in github.com/ConorWilliams/libfork
⨍
Functions
705
◇
Types & classes
375
↓ 93 callers
Function
sync_wait
include/libfork/core/sync_wait.hpp:300
↓ 85 callers
Method
get
* @brief Wait (__block__) for the result to complete and then return it. * * If the task completed with an exception then that exception will be
single_header/libfork.hpp:4757
↓ 62 callers
Method
size
single_header/libfork.hpp:1174
↓ 49 callers
Method
empty
single_header/libfork.hpp:1191
↓ 33 callers
Method
data
* @brief Get a pointer to the contained object, must have been constructed first. */
single_header/libfork.hpp:1600
↓ 32 callers
Method
load
* @brief Load value at ``index % this->capacity()``. */
single_header/libfork.hpp:917
↓ 26 callers
Method
load_steals
* @brief Get the number of times this frame has been stolen. */
single_header/libfork.hpp:2173
↓ 25 callers
Method
load
* @brief Load value at ``index % this->capacity()``. */
include/libfork/core/ext/deque.hpp:101
↓ 22 callers
Method
get
* @brief Wait (__block__) for the result to complete and then return it. * * If the task completed with an exception then that exception will be
include/libfork/core/sync_wait.hpp:210
↓ 21 callers
Method
resume
* @brief Resume a collection of tasks at a submission point. * * This thread must be the worker thread that the tasks were submitted to. */
single_header/libfork.hpp:5796
↓ 21 callers
Method
self
* @brief Get the coroutine handle for this frames coroutine. */
single_header/libfork.hpp:2148
↓ 19 callers
Method
empty
include/libfork/core/ext/deque.hpp:375
↓ 19 callers
Method
run
tools/make_single_header.cpp:34
↓ 18 callers
Function
fn
bench/source/integrate/config.hpp:16
↓ 18 callers
Function
non_null
single_header/libfork.hpp:814
↓ 18 callers
Function
non_null
include/libfork/core/impl/utility.hpp:261
↓ 18 callers
Method
size
include/libfork/schedule/ext/numa.hpp:434
↓ 14 callers
Method
pop
single_header/libfork.hpp:1225
↓ 14 callers
Method
push
single_header/libfork.hpp:1198
↓ 14 callers
Method
shared
* @brief Get access to the shared variables. */
single_header/libfork.hpp:7327
↓ 14 callers
Method
shared
* @brief Get access to the shared variables. */
include/libfork/schedule/impl/numa_context.hpp:87
↓ 14 callers
Method
stacklet
* @brief Get a pointer to the top of the top of the stack-stack this frame was allocated on. */
single_header/libfork.hpp:2143
↓ 14 callers
Method
wait
single_header/libfork.hpp:7888
↓ 13 callers
Method
stash_exception
* @brief Stash an exception that will be rethrown at the end of the next join. */
single_header/libfork.hpp:3089
↓ 12 callers
Method
destroy
* @brief Destroy the contained object, must have been constructed first. * * A noop if ``T`` is trivially destructible. */
single_header/libfork.hpp:1589
↓ 12 callers
Function
maxerror
bench/source/matmul/config.hpp:39
↓ 12 callers
Function
resume
* @brief Resume a collection of tasks at a submission point. * * This thread must be the worker thread that the tasks were submitted to. */
include/libfork/core/ext/resume.hpp:38
↓ 12 callers
Method
split
single_header/libfork.hpp:6796
↓ 11 callers
Function
check
test/source/algorithm/scan.cpp:165
↓ 11 callers
Function
fib_impl
bench/source/coroutine/incremental.cpp:26
↓ 11 callers
Method
top
* @brief Get the stacklet that the last allocation was on, this is non-null. */
single_header/libfork.hpp:1987
↓ 10 callers
Function
context
* @brief Checked access to a workers context. */
include/libfork/core/ext/tls.hpp:74
↓ 10 callers
Method
stash_exception
* @brief Stash an exception that will be rethrown at the end of the next join. */
include/libfork/core/first_arg.hpp:175
↓ 10 callers
Method
test
(self)
test_package/conanfile.py:23
↓ 10 callers
Method
unsafe_rethrow_if_exception
* @brief If this contains an exception then it will be rethrown and this this object reset to the OK state. * * This can __only__ be called when
single_header/libfork.hpp:2235
↓ 9 callers
Function
build_tree
* @brief Build an unbalanced tree containing all the numbers from 0 to n - 1. */
test/source/core/unbalanced.cpp:51
↓ 9 callers
Method
capacity
single_header/libfork.hpp:1186
↓ 9 callers
Method
store
* @brief Store ``val`` at ``index % this->capacity()``. */
single_header/libfork.hpp:910
↓ 9 callers
Method
store
* @brief Store ``val`` at ``index % this->capacity()``. */
include/libfork/core/ext/deque.hpp:94
↓ 8 callers
Method
data
* @brief Get a pointer to the contained object, must have been constructed first. */
include/libfork/core/impl/manual_lifetime.hpp:71
↓ 8 callers
Method
destroy
* @brief Destroy the contained object, must have been constructed first. * * A noop if ``T`` is trivially destructible. */
include/libfork/core/impl/manual_lifetime.hpp:60
↓ 8 callers
Method
is_top
* @brief Check is this stacklet is the top of a stack. */
single_header/libfork.hpp:1760
↓ 8 callers
Method
is_top
* @brief Check is this stacklet is the top of a stack. */
include/libfork/core/impl/stack.hpp:115
↓ 8 callers
Function
map
single_header/libfork.hpp:775
↓ 8 callers
Function
result_tree
bench/source/uts/config.hpp:201
↓ 8 callers
Function
rng_spawn
bench/source/uts/external/rng/brg_sha1.c:65
↓ 8 callers
Function
setup_tree
bench/source/uts/config.hpp:175
↓ 8 callers
Method
steal
single_header/libfork.hpp:1256
↓ 8 callers
Method
top
* @brief Get the stacklet that the last allocation was on, this is non-null. */
include/libfork/core/impl/stack.hpp:342
↓ 8 callers
Function
uts_childType
bench/source/uts/external/uts.c:240
↓ 8 callers
Function
uts_initRoot
bench/source/uts/external/uts.c:122
↓ 8 callers
Function
uts_numChildren
bench/source/uts/external/uts.c:192
↓ 7 callers
Method
context
* @brief Checked access to a workers context. */
single_header/libfork.hpp:2541
↓ 7 callers
Function
finalize
* @brief Clean-up thread-local variable before destructing a worker's context. * * This must be called by the same worker (thread) which called ``lf
include/libfork/core/ext/tls.hpp:136
↓ 7 callers
Method
release
* @brief Release the underlying storage of the current stack and re-initialize this one. * * A new stack can be constructed from the stacklet to
single_header/libfork.hpp:1913
↓ 7 callers
Method
release
* @brief Release the underlying storage of the current stack and re-initialize this one. * * A new stack can be constructed from the stacklet to
include/libfork/core/impl/stack.hpp:268
↓ 7 callers
Function
resume_on
include/libfork/core/scheduler.hpp:68
↓ 7 callers
Method
schedule
single_header/libfork.hpp:4796
↓ 7 callers
Method
try_pop_all
* @brief Fetch a linked-list of the submitted tasks. * * If there are no submitted tasks, then returned pointer will be null. */
single_header/libfork.hpp:7414
↓ 7 callers
Method
try_pop_all
* @brief Pop all the nodes from the list and return a pointer to the root (`nullptr` if empty). * * Only the owner (thread) of the list can call
include/libfork/core/ext/list.hpp:102
↓ 7 callers
Function
worker_init
* @brief Initialize thread-local variables for a worker. * * Returns a handle to the library-managed context for the worker, this context is associa
include/libfork/core/ext/tls.hpp:98
↓ 6 callers
Method
construct
single_header/libfork.hpp:1571
↓ 6 callers
Method
construct
include/libfork/core/impl/manual_lifetime.hpp:42
↓ 6 callers
Method
empty
* @brief Test if the stack is empty (has no allocations). */
include/libfork/core/impl/stack.hpp:258
↓ 6 callers
Method
has_exception
* @brief Test is there is an exception stored in the eventually. */
single_header/libfork.hpp:3630
↓ 6 callers
Function
integral_fn
bench/source/integrate/config.hpp:18
↓ 6 callers
Function
iter_matmul
bench/source/matmul/config.hpp:60
↓ 6 callers
Method
load_joins
* @brief Perform a `.load(order)` on the atomic join counter. */
single_header/libfork.hpp:2159
↓ 6 callers
Function
multiply
bench/source/matmul/config.hpp:109
↓ 6 callers
Function
reset_uts
bench/source/uts/config.hpp:21
↓ 6 callers
Method
set_parent
* @brief Set the pointer to the parent frame. */
single_header/libfork.hpp:2110
↓ 6 callers
Function
sfib
bench/source/fib/config.hpp:10
↓ 6 callers
Function
stack
* @brief Checked access to a workers stack. */
include/libfork/core/ext/tls.hpp:66
↓ 6 callers
Function
unreachable
* @brief A homebrew version of `std::unreachable`, see https://en.cppreference.com/w/cpp/utility/unreachable */
single_header/libfork.hpp:267
↓ 6 callers
Function
unreachable
* @brief A homebrew version of `std::unreachable`, see https://en.cppreference.com/w/cpp/utility/unreachable */
include/libfork/core/macro.hpp:136
↓ 5 callers
Function
check
test/source/algorithm/for_each.cpp:43
↓ 5 callers
Function
check
test/source/algorithm/map.cpp:43
↓ 5 callers
Method
contexts
* @brief Get a view of the worker's contexts. */
single_header/libfork.hpp:8269
↓ 5 callers
Method
get_return
* @brief Get a reference to the return pointer. */
single_header/libfork.hpp:5902
↓ 5 callers
Method
get_return
* @brief Get a reference to the return pointer. */
include/libfork/core/impl/return.hpp:44
↓ 5 callers
Function
matmul_init
bench/source/matmul/config.hpp:84
↓ 5 callers
Method
parent
* @brief Get a pointer to the parent frame. * * Only valid if this is not a root frame. */
single_header/libfork.hpp:2131
↓ 5 callers
Function
queens_ok
* Check if queens positions conflict with each other. */
bench/source/nqueens/config.hpp:9
↓ 5 callers
Method
reset
* @brief Reset the join and steal counters, must be outside a fork-join region. */
single_header/libfork.hpp:2183
↓ 5 callers
Function
sha1_hash
bench/source/uts/external/rng/brg_sha1.c:264
↓ 4 callers
Method
atomic_has_exception
* @brief Test if the exception flag is set. * * Safe to call concurrently. */
single_header/libfork.hpp:2218
↓ 4 callers
Method
capacity
* @brief Capacity of the current stacklet's stack. */
include/libfork/core/impl/stack.hpp:97
↓ 4 callers
Method
capture_exception
* @brief Capture the exception currently being thrown. * * Safe to call concurrently, first exception is saved. */
single_header/libfork.hpp:2199
↓ 4 callers
Function
doubler
test/source/algorithm/fold.cpp:48
↓ 4 callers
Function
factorial
test/source/catch.cpp:33
↓ 4 callers
Method
fetch_add_steal
* @brief Increase the steal counter by one and return the previous value. */
single_header/libfork.hpp:2178
↓ 4 callers
Method
fetch_sub_joins
* @brief Perform a `.fetch_sub(val, order)` on the atomic join counter. */
single_header/libfork.hpp:2166
↓ 4 callers
Function
fib
test/source/core/core.cpp:105
↓ 4 callers
Method
finalize_worker
single_header/libfork.hpp:7281
↓ 4 callers
Function
find
test/source/core/unbalanced.cpp:99
↓ 4 callers
Method
get_underlying
* @brief Fetch the `lf::context` a thread has associated with this object. */
single_header/libfork.hpp:7402
↓ 4 callers
Function
map
include/libfork/core/impl/utility.hpp:222
↓ 4 callers
Method
notify_all
single_header/libfork.hpp:7867
↓ 4 callers
Function
schedule
include/libfork/core/sync_wait.hpp:249
↓ 4 callers
Method
schedule
* @brief schedule suspended tasks to the context, supports concurrent submission. * * This will trigger the notification function. */
include/libfork/core/ext/context.hpp:70
next →
1–100 of 705, ranked by callers