OST_OBJSYNC(3)
π ost::objSync< T > β from the Library Functions Manual (section 3, bestie) π
okay so picture this: you've got a whole squad of objects that all descend from one common base type, and they ALL wanna share ONE static mutex so every single instance of the class is chilling under a global lock. that's literally this template. that's the whole vibe. periodt. π
β¨ NAME β¨
ost::objSync< T > β generic template to create objects of a common base type which share a static mutex so that all instances of the class have a global lock. π«Ά
πΈ SYNOPSIS πΈ
#include <objsync.h>
π Protected Member Functions π
void objLock (void)
void objUnlock (void)
π Detailed Description π
template<class T>
class ost::objSync< T >
no fr, this is the generic template to create objects of a common base type which share a static mutex so that all instances of the class have a global lock. it's giving one lock to rule them all. π
Author β David Sugar dyfet@gnutelephony.org
lowkey iconic: this is a global mutex locked class. πβ¨
π¦ Member Function Documentation π¦
template<class T > void ost::objSync< T >::objLock (void) [inline], [protected]
template<class T > void ost::objSync< T >::objUnlock (void) [inline], [protected]
both of these are [inline] and [protected], bestie β that's the whole spec, no cap. π
β Author β
Generated automatically by Doxygen for GNU CommonC++ from the source code.
and that's the page, babe π β written up by GNU CommonC++ and dated Sun Dec 27 2020. slay, stay locked, stay safe. πππ¦
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms