Scroll to navigation

__gnu_parallel::balanced_tag(3) Library Functions Manual __gnu_parallel::balanced_tag(3)

NAME

__gnu_parallel::balanced_tag - Recommends parallel execution using dynamic load-balancing at compile time.

SYNOPSIS

Inherits __gnu_parallel::parallel_tag.

Public Member Functions


_ThreadIndex __get_num_threads ()
Find out desired number of threads. void set_num_threads (_ThreadIndex __num_threads)
Set the desired number of threads.

Detailed Description

Recommends parallel execution using dynamic load-balancing at compile time.

Definition at line 88 of file tags.h.

Member Function Documentation

_ThreadIndex __gnu_parallel::parallel_tag::__get_num_threads () [inline], [inherited]

Find out desired number of threads.

Returns:

Desired number of threads.

Definition at line 63 of file tags.h.

Referenced by __gnu_parallel::__parallel_sort().

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.

Definition at line 73 of file tags.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Fri May 24 2024 libstdc++