__gnu_parallel::default_parallel_tag.3cxx

Langue: en

Autres versions - même langue

Version: 356451 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

__gnu_parallel::default_parallel_tag -

Recommends parallel execution using the default parallel algorithm.

SYNOPSIS


Inherits __gnu_parallel::parallel_tag.

Public Member Functions


default_parallel_tag (thread_index_t num_threads)

thread_index_t get_num_threads ()

void set_num_threads (thread_index_t num_threads)

Detailed Description

Recommends parallel execution using the default parallel algorithm.

Definition at line 85 of file tags.h.

Member Function Documentation

thread_index_t __gnu_parallel::parallel_tag::get_num_threads () [inline, inherited]

Find out desired number of threads. Returns:

Desired number of threads.

Definition at line 67 of file tags.h.

Referenced by __gnu_parallel::parallel_sort().

void __gnu_parallel::parallel_tag::set_num_threads (thread_index_t num_threads) [inline, inherited]

Set the desired number of threads. Parameters:

num_threads Desired number of threads.

Definition at line 77 of file tags.h.

Author

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