__GNU_PARALLEL::_JOB(3cxx)

🌸 NAME 🌸

Okay so bestie, welcome to the __GNU_PARALLEL::_JOB(3cxx) manual page. The actual name on the page is __gnu_parallel::_Job< _DifferenceTp >, and it's literally "One __job for a certain thread." No cap, that's the whole job. πŸ’…

✨ SYNOPSIS ✨

You start with this include, fr fr:

#include <workstealing.h>

🌟 Public Types 🌟

  • typedef _DifferenceTp _DifferenceType β€” the one and only public type alias. Iconic.

πŸŽ€ Public Attributes πŸŽ€

  • volatile _DifferenceType _M_first β€” First element.
  • volatile _DifferenceType _M_last β€” Last element.
  • volatile _DifferenceType _M_load β€” Number of elements, i.e. _M_last-_M_first+1.

πŸ’– Detailed Description πŸ’–

Here's the template/struct situation, served fresh:

template<typename _DifferenceTp>
struct __gnu_parallel::_Job< _DifferenceTp >

And the description is still "One __job for a certain thread." It's giving one job, one thread, main-character energy. 😭

πŸŽ€ Member Data Documentation πŸŽ€

πŸ’œ _M_first

template<typename _DifferenceTp > volatile _DifferenceType
    __gnu_parallel::_Job< _DifferenceTp >::_M_first

First element. Changed by owning and stealing thread. By stealing thread, always incremented.

Referenced by __gnu_parallel::__for_each_template_random_access_workstealing().

πŸ’œ _M_last

template<typename _DifferenceTp > volatile _DifferenceType
    __gnu_parallel::_Job< _DifferenceTp >::_M_last

Last element. Changed by owning thread only.

Referenced by __gnu_parallel::__for_each_template_random_access_workstealing().

πŸ’œ _M_load

template<typename _DifferenceTp > volatile _DifferenceType
    __gnu_parallel::_Job< _DifferenceTp >::_M_load

Number of elements, i.e. _M_last-_M_first+1. Changed by owning thread only.

Referenced by __gnu_parallel::__for_each_template_random_access_workstealing().

🫢 Author 🫢

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


okay bye bestie πŸ’– β€” sign-off tea: source/version is libstdc++, auto-generated by Doxygen from the source code, and the footer's libstd... + (3cxx) source-version-and-date stamp is doing its little final vibe. Bye! ✨