__gnu_parallel::Job(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

okay bestie, welcome to __gnu_parallel::Job(3) from the Library Functions Manual β€” this is the page for the little job struct that a certain thread gets. it’s giving workstealing.h energy 🧚✨

πŸ’– NAME

__gnu_parallel::Job β€” one job for a certain thread. periodt. πŸ’…

✨ SYNOPSIS

🌸 Public Types

  • typedef _DifferenceTp difference_type β€” the public typedef, exactly as written, no cap.

πŸŽ€ Public Attributes

  • volatile difference_type first β€” the first element, and yes it’s volatile bestie.
  • volatile difference_type last β€” the last element.
  • volatile difference_type load β€” the number of elements.

πŸ¦‹ Detailed Description

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

One job for a certain thread. iconic. Definition at line 54 of file workstealing.h.

πŸŽ€ Member Data Documentation

πŸ’… first

template<typename _DifferenceTp> volatile difference_type
__gnu_parallel::Job< _DifferenceTp >::first

First element.

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

Definition at line 62 of file workstealing.h.

Referenced by __gnu_parallel::for_each_template_random_access_workstealing().

πŸ¦‹ last

template<typename _DifferenceTp> volatile difference_type
__gnu_parallel::Job< _DifferenceTp >::last

Last element.

Changed by owning thread only.

Definition at line 67 of file workstealing.h.

Referenced by __gnu_parallel::for_each_template_random_access_workstealing().

⭐ load

template<typename _DifferenceTp> volatile difference_type
__gnu_parallel::Job< _DifferenceTp >::load

Number of elements, i. e. last-first+1.

Changed by owning thread only.

Definition at line 72 of file workstealing.h.

Referenced by __gnu_parallel::for_each_template_random_access_workstealing().

πŸ‘‘ Author

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


okay bye bestie 🫢 this page was brought to you by libstdc++, dated 21 Apr 2009, and titled __gnu_parallel::Job(3) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from