sc::PumaThreadGrp(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

🌸 NAME 🌸

sc::PumaThreadGrp β€” okay bestie, this is the MPQC manual page for sc::PumaThreadGrp(3), and the class β€œprivides” (their spelling, not mine πŸ’…) a concrete thread group appropriate for the intel teraflops machine. Periodt.

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <thpuma.h>

Inherits sc::ThreadGrp. Lowkey important.

✨ Public Member Functions ✨

  • PumaThreadGrp (const Ref<KeyVal> &) β€” takes a Ref<KeyVal> &; that’s the signature listed here, no extra lore on this page.
  • int start_threads () β€” starts the threads running.
  • int wait_threads () β€” wait for all the threads to complete.
  • Ref<ThreadLock> new_lock () β€” return a local object.

🫢 Additional Inherited Members 🫢

There are additional inherited members, but this page doesn’t enumerate them, so I’m not inventing any extra facts β€” we simply don’t have the list here. Iconic restraint, honestly.

πŸ’– Detailed Description πŸ’–

The PumaThreadGrp class β€œprivides” β€” yep, source spelling β€” a concrete thread group appropriate for the intel teraflops machine. That’s the whole main-character summary.

πŸ”₯ Member Function Documentation πŸ”₯

int sc::PumaThreadGrp::start_threads () [virtual]

Starts the threads running. Thread 0 will be run by the thread that calls start_threads.

Implements sc::ThreadGrp.

int sc::PumaThreadGrp::wait_threads () [virtual]

Wait for all the threads to complete. This must be called before start_threads is called again or the object is destroyed.

⚠️ Bestie, read that again: wait_threads() has to happen before you call start_threads() again, or before the object is destroyed. Not optional. Don’t test it. πŸ’€

Implements sc::ThreadGrp.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for MPQC from the source code. So the β€œauthor” is Doxygen doing its little automated thing, not a human with a group chat.


πŸ’– MPQC Β· Version 2.3.1 Β· Sun Oct 4 2020 Β· sc::PumaThreadGrp(3) β€” byeee bestie, go wait on those threads! 🫢✨

πŸ“¦ where this page comes from