MCPcopy Create free account

hub / github.com/bshoshany/thread-pool / functions

Functions226 in github.com/bshoshany/thread-pool

Methodset_os_thread_name
* @brief Set the name of the current thread using the current platform's native API. This should work on Windows, Linux, and macOS. Note that on Linux
include/BS_thread_pool.hpp:1117
Methodset_os_thread_priority
* @brief Set the priority of the current thread using the current platform's native API. This should work on Windows, Linux, and macOS. However, note
include/BS_thread_pool.hpp:1239
Functionsubmit_blocks
include/BS_thread_pool.hpp:1835
Functionsubmit_loop
include/BS_thread_pool.hpp:1904
Functionsubmit_sequence
include/BS_thread_pool.hpp:1924
Functionsubmit_task
include/BS_thread_pool.hpp:1939
Methodsynced_stream
* @brief Construct a new synced stream which prints to `std::cout`. */
include/BS_thread_pool.hpp:2415
Methodtask_and_future
include/BS_thread_pool.hpp:731
Methodtest_exception
tests/BS_thread_pool_test.cpp:2160
Functionthread_pool
* @brief Construct a new thread pool. The number of threads will be the total number of hardware threads available, as reported by the implementation.
include/BS_thread_pool.hpp:1457
Functionthrows
* @brief A function that throws a `test_exception`. */
tests/BS_thread_pool_test.cpp:2166
Methodtry_acquire
* @brief Tries to atomically decrement the internal counter by 1 if it is greater than 0; no blocking occurs regardless. * * @return `true`
tests/BS_thread_pool_test.cpp:184
Methodtry_acquire_for
tests/BS_thread_pool_test.cpp:204
Methodtry_acquire_until
tests/BS_thread_pool_test.cpp:226
Functionunpause
* @brief Unpause the pool. The workers will resume retrieving new tasks out of the queue. Only enabled if the flag `BS::tp::pause` is enabled in the t
include/BS_thread_pool.hpp:1949
Methodvalid
* @brief Check if all the futures stored in this `BS::multi_future` are valid. * * @return `true` if all futures are valid, `false` if at le
include/BS_thread_pool.hpp:509
Methodversion
include/BS_thread_pool.hpp:145
Methodwait_deadlock
include/BS_thread_pool.hpp:776
Functionwait_for
include/BS_thread_pool.hpp:1996
Functionwait_until
include/BS_thread_pool.hpp:2029
Method~count_copy_move
tests/BS_thread_pool_test.cpp:2563
Method~counting_semaphore
tests/BS_thread_pool_test.cpp:139
Method~detect_copy_move
tests/BS_thread_pool_test.cpp:863
Method~detect_destruct
tests/BS_thread_pool_test.cpp:2629
Method~func_concept
include/BS_thread_pool.hpp:333
Function~thread_pool
* @brief Destruct the thread pool. Waits for all tasks to complete, then destroys all threads. If a cleanup function was set, it will run in each thre
include/BS_thread_pool.hpp:1495
← previous201–226 of 226, ranked by callers