__gnu_parallel::balanced_tag(3cxx)
π NAME
__gnu_parallel::balanced_tag β bestie, this one is a compile-time vibe check that says "yo, run this in parallel with dynamic load-balancing" π
(You're in the <cxx> manual section, 3cxx, just so you know where you are π)
πΈ SYNOPSIS
#include <tags.h>
Inherits __gnu_parallel::parallel_tag β so it's got that family energy, iykyk π
β¨ Public Member Functions
_ThreadIndex __get_num_threads()β find out the desired number of threads π§΅void set_num_threads(_ThreadIndex __num_threads)β set the desired number of threads ποΈ
π¦ Detailed Description
So the whole point: this tag recommends parallel execution using dynamic load-balancing at compile time. That's it, that's the tag. It's giving "little tag, big responsibility" β¨
π Member Function Documentation
_ThreadIndex __gnu_parallel::parallel_tag::__get_num_threads() [inline], [inherited] π«Ά
Find out the desired number of threads.
Returns: the desired number of threads. Slay, that's the whole answer π
It's referenced by __gnu_parallel::__parallel_sort() β and ngl, the docs literally list that same call seven times, so here are all seven, no cap:
__gnu_parallel::__parallel_sort()__gnu_parallel::__parallel_sort()__gnu_parallel::__parallel_sort()__gnu_parallel::__parallel_sort()__gnu_parallel::__parallel_sort()__gnu_parallel::__parallel_sort()__gnu_parallel::__parallel_sort()
Seven. Iconic. Obsessed ππ₯
void __gnu_parallel::parallel_tag::set_num_threads(_ThreadIndex __num_threads) [inline], [inherited] πΈ
Set the desired number of threads.
Parameters:
__num_threadsβ desired number of threads π§΅β¨
π Author
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, just machine main-character energy π€π
Heads up bestie: this page is straight from libstdc++, section 3cxx, and the whole thing is Doxygen-generated from the source β so if something looks auto-written, that's because it literally is π
π That's the whole page, you ate that. Go forth and load-balance dynamically, __gnu_parallel::balanced_tag(3cxx) signing off ππβ
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms