---
name: "__gnu_parallel::_PMWMSSortingData"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::_PMWMSSortingData/3cxx"
---

# \_\_gnu\_parallel::\_PMWMSSortingData(3cxx)

Data accessed by all threads.

## NAME

\_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \> - Data accessed by all threads.

## SYNOPSIS

`#include <multiway_mergesort.h>`

### Public Types

typedef \_TraitsType::difference\_type **\_DifferenceType**\
 typedef **std::iterator\_traits**\< \_RAIter \> **\_TraitsType**\
 typedef \_TraitsType::value\_type **\_ValueType**\

### Public Attributes

**\_ThreadIndex** **\_M\_num\_threads**\
 Number of threads involved.  \_DifferenceType \* **\_M\_offsets**\
 Offsets to add to the found positions.  **std::vector**\< **\_Piece**\< \_DifferenceType \> \> \* **\_M\_pieces**\
 Pieces of data to merge \[thread\]\[\_\_sequence\].  \_ValueType \* **\_M\_samples**\
 Samples.  \_RAIter **\_M\_source**\
 Input \_\_begin.  \_DifferenceType \* **\_M\_starts**\
 Start indices, per thread.  \_ValueType \*\* **\_M\_temporary**\
 Storage in which to sort.

## Detailed Description

### template\<typename \_RAIter\>

struct \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>"Data accessed by all threads.

PMWMS = parallel multiway mergesort

## Member Data Documentation

### template\<typename \_RAIter \> \_ThreadIndex \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>::\_M\_num\_threads

Number of threads involved.

Referenced by **\_\_gnu\_parallel::parallel\_sort\_mwms()**, and **\_\_gnu\_parallel::parallel\_sort\_mwms\_pu()**.

### template\<typename \_RAIter \> \_DifferenceType\* \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>::\_M\_offsets

Offsets to add to the found positions.

Referenced by **\_\_gnu\_parallel::parallel\_sort\_mwms()**.

### template\<typename \_RAIter \> std::vector\<\_Piece\<\_DifferenceType\> \>\* \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>::\_M\_pieces

Pieces of data to merge \[thread\]\[\_\_sequence\].

Referenced by **\_\_gnu\_parallel::parallel\_sort\_mwms()**, and **\_\_gnu\_parallel::parallel\_sort\_mwms\_pu()**.

### template\<typename \_RAIter \> \_ValueType\* \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>::\_M\_samples

Samples.

Referenced by **\_\_gnu\_parallel::\_\_determine\_samples()**, and **\_\_gnu\_parallel::parallel\_sort\_mwms()**.

### template\<typename \_RAIter \> \_RAIter \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>::\_M\_source

Input \_\_begin.

Referenced by **\_\_gnu\_parallel::\_\_determine\_samples()**, **\_\_gnu\_parallel::parallel\_sort\_mwms()**, and **\_\_gnu\_parallel::parallel\_sort\_mwms\_pu()**.

### template\<typename \_RAIter \> \_DifferenceType\* \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>::\_M\_starts

Start indices, per thread.

Referenced by **\_\_gnu\_parallel::\_\_determine\_samples()**, **\_\_gnu\_parallel::parallel\_sort\_mwms()**, and **\_\_gnu\_parallel::parallel\_sort\_mwms\_pu()**.

### template\<typename \_RAIter \> \_ValueType\*\* \_\_gnu\_parallel::\_PMWMSSortingData\< \_RAIter \>::\_M\_temporary

Storage in which to sort.

Referenced by **\_\_gnu\_parallel::parallel\_sort\_mwms()**, and **\_\_gnu\_parallel::parallel\_sort\_mwms\_pu()**.

## Author

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