Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RichieSams/FiberTaskingLib
/ functions
Functions
126 in github.com/RichieSams/FiberTaskingLib
⨍
Functions
126
◇
Types & classes
37
↓ 12 callers
Method
Wait
source/wait_group.cpp:183
↓ 10 callers
Method
Init
source/task_scheduler.cpp:280
↓ 9 callers
Method
AddTasks
source/task_scheduler.cpp:441
↓ 9 callers
Method
GetThreadCount
* Gets the amount of backing threads. * * @return Backing thread count */
include/ftl/task_scheduler.h:259
↓ 8 callers
Function
YieldThread
source/thread_abstraction.cpp:125
↓ 6 callers
Method
GetCurrentThreadIndex
source/task_scheduler.cpp:470
↓ 5 callers
Method
Push
include/ftl/wait_free_queue.h:112
↓ 4 callers
Method
AddTask
source/task_scheduler.cpp:420
↓ 4 callers
Function
print_trouble
(prog, message, use_colors)
tools/run-clang-format.py:244
↓ 3 callers
Method
GetCurrentFiberIndex
source/task_scheduler.cpp:496
↓ 2 callers
Method
Add
source/wait_group.cpp:109
↓ 2 callers
Method
AddReadyFiber
source/task_scheduler.cpp:697
↓ 2 callers
Function
AlignedAlloc
source/alloc.cpp:65
↓ 2 callers
Function
AlignedFree
source/alloc.cpp:77
↓ 2 callers
Method
CleanUpOldFiber
source/task_scheduler.cpp:631
↓ 2 callers
Method
Get
include/ftl/wait_free_queue.h:83
↓ 2 callers
Method
GetAllValues
* Returns a copy of all the elements within the thread_local value. Operation is _not_ thread safe, * it does not take any locks or copy any object
include/ftl/thread_local.h:171
↓ 2 callers
Function
GetCurrentThread
source/thread_abstraction.cpp:112
↓ 2 callers
Method
InitWaitingFiberBundle
source/task_scheduler.cpp:744
↓ 2 callers
Function
MemoryGuard
source/alloc.cpp:43
↓ 2 callers
Function
MemoryGuardRelease
source/alloc.cpp:52
↓ 2 callers
Function
ParallelFor
include/ftl/parallel_for.h:41
↓ 2 callers
Method
Pop
include/ftl/wait_free_queue.h:129
↓ 2 callers
Method
Put
include/ftl/wait_free_queue.h:87
↓ 2 callers
Function
SetCurrentThreadAffinity
source/thread_abstraction.cpp:116
↓ 2 callers
Function
SetThreadName
source/thread_abstraction.cpp:45
↓ 2 callers
Method
Steal
include/ftl/wait_free_queue.h:158
↓ 2 callers
Method
SwitchToFreeFiber
source/task_scheduler.cpp:761
↓ 2 callers
Function
SystemPageSize
source/alloc.cpp:61
↓ 2 callers
Method
unlock
* @brief Unlock the Fibtex * * We use lower-case naming so users can use std::lock_guard and friends */ ReSharper disable once CppInconsistentNa
include/ftl/fibtex.h:123
↓ 1 callers
Function
CreateThread
source/thread_abstraction.cpp:71
↓ 1 callers
Method
Done
* @brief Decrement the counter by 1 */
include/ftl/wait_group.h:87
↓ 1 callers
Function
EndCurrentThread
source/thread_abstraction.cpp:95
↓ 1 callers
Method
GetNextFreeFiberIndex
source/task_scheduler.cpp:607
↓ 1 callers
Method
GetNextHiPriTask
source/task_scheduler.cpp:512
↓ 1 callers
Method
GetNextLoPriTask
source/task_scheduler.cpp:581
↓ 1 callers
Function
GetNumHardwareThreads
source/thread_abstraction.cpp:241
↓ 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
include/ftl/wait_free_queue.h:94
↓ 1 callers
Function
JoinThread
source/thread_abstraction.cpp:99
↓ 1 callers
Function
RoundUp
source/fiber.cpp:80
↓ 1 callers
Method
Size
include/ftl/wait_free_queue.h:79
↓ 1 callers
Function
SleepThread
source/thread_abstraction.cpp:121
↓ 1 callers
Method
__init__
(self, message, errs=None)
tools/run-clang-format.py:104
↓ 1 callers
Function
bold
(s)
tools/run-clang-format.py:210
↓ 1 callers
Function
bold_red
(s)
tools/run-clang-format.py:205
↓ 1 callers
Function
colorize
(diff_lines)
tools/run-clang-format.py:209
↓ 1 callers
Function
cyan
(s)
tools/run-clang-format.py:213
↓ 1 callers
Function
excludes_from_file
(ignore_file)
tools/run-clang-format.py:43
↓ 1 callers
Function
green
(s)
tools/run-clang-format.py:216
↓ 1 callers
Function
list_files
(files, recursive=False, extensions=None, exclude=None)
tools/run-clang-format.py:61
↓ 1 callers
Method
lock
* @brief Lock the Fibtex * * We use lower-case naming so users can use std::lock_guard and friends * * @param pinToCurrentThread If true, t
include/ftl/fibtex.h:77
↓ 1 callers
Function
main
()
tools/run-clang-format.py:251
↓ 1 callers
Function
main
()
tools/run-clang-tidy.py:30
↓ 1 callers
Function
make_diff
(file, original, reformatted)
tools/run-clang-format.py:93
↓ 1 callers
Function
print_diff
(diff_lines, use_color)
tools/run-clang-format.py:235
↓ 1 callers
Function
red
(s)
tools/run-clang-format.py:219
↓ 1 callers
Function
run_clang_format_diff
(args, file)
tools/run-clang-format.py:127
↓ 1 callers
Function
run_clang_format_diff_wrapper
(args, file)
tools/run-clang-format.py:116
↓ 1 callers
Method
try_lock
* @brief Attempt to lock the Fibtex * * We use lower-case naming so users can use std::lock_guard and friends * * @return True if succesful
include/ftl/fibtex.h:96
Function
AddNumberSubset
tests/functional/calc_triangle_num.cpp:40
Function
AddNumberSubset
examples/triangle_num.cpp:22
Method
CircularArray
include/ftl/wait_free_queue.h:69
Function
Consumer
tests/functional/producer_consumer.cpp:35
Function
Consumer
benchmarks/producer_consumer/producer_consumer.cpp:36
Function
EmptyBenchmarkTask
benchmarks/empty/empty.cpp:35
Method
Fiber
source/fiber.cpp:37
Method
Fiber
* Default constructor * Nothing is allocated. This can be used as a thread fiber. */
include/ftl/fiber.h:43
Method
FiberStartFunc
source/task_scheduler.cpp:100
Method
Fibtex
source/fibtex.cpp:67
Method
Fibtex
include/ftl/fibtex.h:46
Function
FifthLevelFiberStart
tests/fiber_abstraction/nested_fiber_switch.cpp:120
Function
FirstLevelFiberStart
tests/fiber_abstraction/nested_fiber_switch.cpp:43
Function
FloatingPointFifthLevelFiberStart
tests/fiber_abstraction/floating_point_fiber_switch.cpp:119
Function
FloatingPointFirstLevelFiberStart
tests/fiber_abstraction/floating_point_fiber_switch.cpp:42
Function
FloatingPointFourthLevelFiberStart
tests/fiber_abstraction/floating_point_fiber_switch.cpp:101
Function
FloatingPointSecondLevelFiberStart
tests/fiber_abstraction/floating_point_fiber_switch.cpp:65
Function
FloatingPointSixthLevelFiberStart
tests/fiber_abstraction/floating_point_fiber_switch.cpp:137
Function
FloatingPointThirdLevelFiberStart
tests/fiber_abstraction/floating_point_fiber_switch.cpp:83
Function
FourthLevelFiberStart
tests/fiber_abstraction/nested_fiber_switch.cpp:102
Method
GetAllValuesByRef
* Returns a reference to all of the elements within the thread_local value. Operation is thread safe within the * the thread_local object itself, bu
include/ftl/thread_local.h:190
Method
GetFiberCount
* Gets the amount of fibers in the fiber pool. * * @return Fiber pool size */
include/ftl/task_scheduler.h:268
Method
GetHandle
* Get a handle to your thread's T. You must be careful that you don't jump to another thread in the mean time, but this will allow * you to prevent
include/ftl/thread_local.h:150
Method
InitValue
include/ftl/thread_local.h:204
Function
LockGuardTest
tests/utilities/fibtex.cpp:41
Method
LockSlow
source/fibtex.cpp:73
Method
LockWrapper
* @param mutex Fibtex to wrap around. * @param pinToCurrentThread If true, this fiber won't be resumed on another thread (if lock
include/ftl/fibtex.h:149
Method
MutexData
tests/utilities/fibtex.cpp:32
Function
Producer
tests/functional/producer_consumer.cpp:41
Function
Producer
benchmarks/producer_consumer/producer_consumer.cpp:40
Function
ReadyFiberDummyTask
This Task is never used directly However, a function pointer to it is the signal that the task is a Ready fiber, not a "real" task See @FiberStartFunc
source/task_scheduler.cpp:95
Function
Reset
include/ftl/fiber.h:37
Function
SecondLevelFiberStart
tests/fiber_abstraction/nested_fiber_switch.cpp:66
Method
SetEmptyQueueBehavior
* Set the behavior for how worker threads handle an empty queue * * @param behavior * @return */
include/ftl/task_scheduler.h:278
Function
SideEffect
tests/utilities/thread_local.cpp:44
Function
SimpleInit
tests/utilities/thread_local.cpp:34
Function
SingleFiberStart
tests/fiber_abstraction/single_fiber_switch.cpp:37
Function
SixthLevelFiberStart
tests/fiber_abstraction/nested_fiber_switch.cpp:138
Method
Swap
source/fiber.cpp:72
Method
TaskIsReadyToExecute
source/task_scheduler.cpp:501
Method
TaskScheduler
source/task_scheduler.cpp:274
next →
1–100 of 126, ranked by callers