Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Amanieu/asyncplusplus
/ functions
Functions
259 in github.com/Amanieu/asyncplusplus
⨍
Functions
259
◇
Types & classes
103
↓ 33 callers
Function
get_internal_task
include/async++/task_base.h:447
↓ 16 callers
Method
get
Get the result of the task
include/async++/task.h:249
↓ 13 callers
Method
size
src/work_steal_queue.h:45
↓ 10 callers
Method
begin
include/async++/range.h:37
↓ 10 callers
Method
end
include/async++/range.h:41
↓ 10 callers
Function
make_range
include/async++/range.h:49
↓ 10 callers
Function
set_internal_task
include/async++/task_base.h:452
↓ 8 callers
Method
begin
include/async++/partitioner.h:97
↓ 8 callers
Function
invoke_fake_void
include/async++/traits.h:95
↓ 8 callers
Method
remove_ref
include/async++/ref_count.h:50
↓ 8 callers
Method
set_result
include/async++/task_base.h:178
↓ 7 callers
Method
destroy_func
include/async++/task_base.h:358
↓ 7 callers
Method
get_flags
include/async++/continuation_vector.h:45
↓ 6 callers
Method
cancel_base
Cancel a task with the given exception
include/async++/task_base.h:274
↓ 6 callers
Method
get
src/work_steal_queue.h:50
↓ 6 callers
Method
get_exception
Get the exception associated with a canceled task
include/async++/task.h:118
↓ 6 callers
Method
get_result
include/async++/task_base.h:245
↓ 6 callers
Method
run
Run the stored function
include/async++/task_base.h:394
↓ 5 callers
Method
add_ref
include/async++/ref_count.h:46
↓ 5 callers
Method
signal
Signal an event and wake up a sleeping thread
src/task_wait_event.h:96
↓ 5 callers
Method
then
include/async++/task.h:261
↓ 4 callers
Method
end
include/async++/partitioner.h:101
↓ 4 callers
Function
fake_void_to_void
include/async++/traits.h:39
↓ 4 callers
Function
is_finished
Determine whether a task is in a final state
include/async++/task_base.h:38
↓ 4 callers
Function
make_task
include/async++/task.h:512
↓ 4 callers
Method
release
include/async++/ref_count.h:139
↓ 4 callers
Method
set_internal
include/async++/task.h:147
↓ 4 callers
Function
set_thread_wait_handler
src/scheduler.cpp:99
↓ 4 callers
Method
wait
Wait for the task to complete
include/async++/task.h:111
↓ 3 callers
Method
add_ref_unlocked
include/async++/ref_count.h:57
↓ 3 callers
Function
aligned_free
src/scheduler.cpp:47
↓ 3 callers
Function
hardware_concurrency
src/scheduler.cpp:225
↓ 3 callers
Function
local_spawn
include/async++/task.h:561
↓ 3 callers
Method
pop
Pop a task from the front of the queue
src/fifo_queue.h:63
↓ 3 callers
Method
push
Push a task to the end of the queue
src/fifo_queue.h:45
↓ 3 callers
Method
ready
Query whether the task has finished executing
include/async++/task.h:97
↓ 3 callers
Method
schedule
Inline scheduler implementation
include/async++/scheduler.h:169
↓ 3 callers
Function
schedule_task
include/async++/scheduler.h:162
↓ 3 callers
Function
set_exception
Cancel the event with an exception and cancel continuations
include/async++/task.h:218
↓ 3 callers
Method
split
include/async++/partitioner.h:105
↓ 3 callers
Method
to_void_ptr
Conversion to and from void pointer. This allows the task handle to be sent through C APIs which don't preserve types.
include/async++/scheduler.h:148
↓ 3 callers
Method
wait
Wait for an event to occur. Returns the event(s) that occurred. This also clears any pending events afterwards.
src/task_wait_event.h:76
↓ 2 callers
Function
aligned_alloc
src/scheduler.cpp:31
↓ 2 callers
Function
aligned_array
include/async++/aligned_alloc.h:37
↓ 2 callers
Function
auto_grain_size
Automatically determine a grain size for a sequence length
include/async++/partitioner.h:43
↓ 2 callers
Function
auto_partitioner
include/async++/partitioner.h:154
↓ 2 callers
Method
cancel
include/async++/cancel.h:50
↓ 2 callers
Method
get_internal
Common code for get()
include/async++/task.h:53
↓ 2 callers
Function
get_local_threadpool_data_key
src/threadpool_scheduler.cpp:109
↓ 2 callers
Function
get_thread_wait_handler
src/scheduler.cpp:111
↓ 2 callers
Function
get_thread_wait_handler_key
src/scheduler.cpp:89
↓ 2 callers
Function
get_threadpool_data_wrapper
src/threadpool_scheduler.cpp:134
↓ 2 callers
Method
init
Initialize the event, must be done before any other functions are called.
src/task_wait_event.h:65
↓ 2 callers
Method
is_unique_ref
include/async++/ref_count.h:61
↓ 2 callers
Method
on_finish
include/async++/scheduler.h:73
↓ 2 callers
Method
put
src/work_steal_queue.h:55
↓ 2 callers
Method
reset
include/async++/cancel.h:55
↓ 2 callers
Method
set
Signal the event when the first task reaches here
include/async++/when_all_any.h:96
↓ 2 callers
Method
then_internal
include/async++/task.h:63
↓ 2 callers
Function
thread_task_loop
Main task stealing loop which is used by worker threads when they have nothing to do.
src/threadpool_scheduler.cpp:174
↓ 2 callers
Function
to_partitioner
include/async++/partitioner.h:164
↓ 2 callers
Method
wait_and_throw
Wait and throw the exception if the task was canceled
include/async++/task_base.h:294
↓ 1 callers
Function
create_threadpool_data
src/threadpool_scheduler.cpp:123
↓ 1 callers
Method
destroy
Delete the task using its proper type
include/async++/task_base.h:301
↓ 1 callers
Method
flush_and_lock
include/async++/continuation_vector.h:195
↓ 1 callers
Method
grow
Growing the array returns a new circular_array object and keeps a linked list of all previous arrays. This is done because other threads could still b
src/work_steal_queue.h:63
↓ 1 callers
Method
init_func
include/async++/task_base.h:354
↓ 1 callers
Function
internal_parallel_for
include/async++/parallel_for.h:31
↓ 1 callers
Function
internal_parallel_map_reduce
include/async++/parallel_reduce.h:40
↓ 1 callers
Method
is_canceled
include/async++/cancel.h:42
↓ 1 callers
Function
parallel_map_reduce
include/async++/parallel_reduce.h:63
↓ 1 callers
Method
run
Run the task and release the handle
include/async++/scheduler.h:131
↓ 1 callers
Function
run_continuation
include/async++/task_base.h:98
↓ 1 callers
Function
run_continuations
Run all of the task's continuations after it has completed or canceled. The list of continuations is emptied and locked to prevent any further continu
include/async++/task_base.h:111
↓ 1 callers
Method
set_exception
Set the exception value of the task
include/async++/task_base.h:282
↓ 1 callers
Method
set_flags
include/async++/continuation_vector.h:54
↓ 1 callers
Function
spawn
include/async++/task.h:482
↓ 1 callers
Method
steal
Steal a task from the top of this thread's queue
src/work_steal_queue.h:160
↓ 1 callers
Function
steal_task
Try to steal a task from another thread's queue
src/threadpool_scheduler.cpp:149
↓ 1 callers
Method
try_add
Try adding an element to the vector. This fails and returns false if the vector has been locked. In that case t is not modified.
include/async++/continuation_vector.h:146
↓ 1 callers
Method
try_wait
Check if a specific event is ready
src/task_wait_event.h:87
↓ 1 callers
Function
wait
Wait for the task to finish executing
include/async++/task_base.h:145
↓ 1 callers
Function
wait_for_task
Wait for a task to complete
src/scheduler.cpp:128
↓ 1 callers
Function
worker_thread
Worker thread main loop
src/threadpool_scheduler.cpp:279
Function
LIBASYNC_CATCH
include/async++/task_base.h:102
Function
LIBASYNC_CATCH
include/async++/when_all_any.h:130
Method
LIBASYNC_CATCH
include/async++/task_base.h:399
Method
LIBASYNC_CATCH
include/async++/task_base.h:475
Method
LIBASYNC_CATCH
include/async++/task.h:160
Function
add_continuation
include/async++/task_base.h:121
Method
auto_partitioner_impl
thread_id is initialized to "no thread" and will be set on first split
include/async++/partitioner.h:95
Function
basic_event
Main constructor
include/async++/task.h:182
Method
begin
include/async++/range.h:165
Method
begin
include/async++/partitioner.h:62
Method
callback
Get the task from the void* and execute it in the UI thread
examples/gtk_scheduler.cpp:30
Method
canceled
Query whether the task has been canceled with an exception
include/async++/task.h:104
Method
canceled
Query whether the task has been canceled with an exception
include/async++/task.h:447
Method
cancellation_token
include/async++/cancel.h:35
Method
circular_array
src/work_steal_queue.h:42
Method
compressed_ptr
include/async++/continuation_vector.h:36
next →
1–100 of 259, ranked by callers