libstdc++: __gnu_parallel::quicksort_tag Struct Reference

libstdc++

__gnu_parallel::quicksort_tag Struct Reference

`#include <tags.h>`

Inheritance diagram for __gnu_parallel::quicksort_tag:
[legend]

## Public Member Functions
| quicksort_tag (_ThreadIndex __num_threads)
_ThreadIndex | __get_num_threads ()
void | set_num_threads (_ThreadIndex __num_threads)

## Detailed Description

Forces parallel sorting using unbalanced quicksort at compile time.

Definition at line 155 of file tags.h.

## Constructor & Destructor Documentation

## ◆ quicksort_tag() [1/2]

__gnu_parallel::quicksort_tag::quicksort_tag | ( |  | ) |
| inline

Definition at line 157 of file tags.h.

## ◆ quicksort_tag() [2/2]

__gnu_parallel::quicksort_tag::quicksort_tag | ( | _ThreadIndex | __num_threads | ) |
| inline

Definition at line 158 of file tags.h.

## Member Function Documentation

## ◆ __get_num_threads()

_ThreadIndex __gnu_parallel::parallel_tag::__get_num_threads | ( |  | ) |
| inlineinherited

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(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), __gnu_parallel::__parallel_sort(), and __gnu_parallel::__parallel_sort().

## ◆ set_num_threads()

void __gnu_parallel::parallel_tag::set_num_threads | ( | _ThreadIndex | __num_threads | ) |
| inlineinherited

Set the desired number of threads.

Parameters

  __num_threads | Desired number of threads.

Definition at line 73 of file tags.h.

The documentation for this struct was generated from the following file:

- tags.h