log4tango::threading(3)

πŸ“¦
version 9.3.4 Β· 2 versions
, in debian bookworm

πŸ’… log4tango::threading ✨

okay bestie, welcome to the log4tango manual β€” specifically the threading corner of it. this is where all the "don't let two things touch the same data at once" energy lives. no cap, concurrency is the whole vibe here. πŸ§΅πŸ¦‹


✨ NAME ✨

log4tango::threading β€” the threading namespace of log4tango, bestie. that's it, that's the name. periodt. πŸ’–


🌸 SYNOPSIS 🌸

πŸŽ€ Classes

  • class Mutex
  • class RecursiveMutex
  • class ScopedLock

πŸŽ€ Typedefs

  • typedef int Mutex
  • typedef int ScopedLock

πŸŽ€ Functions

  • std::string get_thread_id (void)
  • long thread_id (void)

🫢 Typedef Documentation 🫢

  • typedef int log4tango::threading::Mutex β€” yeah, it's literally an int under the hood. iconic behaviour honestly.
  • typedef int log4tango::threading::ScopedLock β€” and this one? also an int. the way that these are both just plain old int typedefs is sending me 😭

πŸ’œ Function Documentation πŸ’œ

  • std::string log4tango::threading::get_thread_id (void) β€” hands you back the thread id as a std::string. cute, stringy, ready to be logged. ✨
  • long log4tango::threading::thread_id (void) β€” same idea, but it returns a long. pick your fighter, bestie. πŸ”₯

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for log4tango from the source code. so like… nobody hand-wrote this, the robot did it. still slayed tho. πŸ€–πŸ’…


lowkey reminder: this whole page is auto-generated, so the facts are the facts β€” every class, typedef, function and signature up there is exactly as the source says. don't come for me, come for Doxygen. πŸ“

and that's a wrap, bestie!! this was log4tango threading, page 3 of the manual, Version 5.0.2, dated Thu Dec 5 2024. go forth and lock responsibly, you main character πŸ§šπŸ’–β­

πŸ“¦ where this page comes from