std::shared_mutex(3cxx)

πŸ’– NAME πŸ’–

okay so welcome to the std::shared_mutex(3cxx) page bestie, we're doing this πŸ’…

std::shared_mutex β€” The standard shared mutex type.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shared_mutex>

πŸŽ€ Public Types πŸŽ€

  • typedef void * native_handle_type β€” this is the native handle type, straight up, that's the whole line 🫢

πŸ”₯ Public Member Functions πŸ”₯

no notes, just the exact signatures, because the way that i am obsessed with keeping every detail 😭

  • shared_mutex (const shared_mutex &)=delete β€” copy constructor? deleted. don't even try it, bestie πŸ’€
  • void lock ()
  • void lock_shared ()
  • native_handle_type native_handle ()
  • shared_mutex & operator= (const shared_mutex &)=delete β€” assignment operator? also deleted. not me getting rejected twice πŸ™ˆ
  • bool try_lock ()
  • bool try_lock_shared ()
  • void unlock ()
  • void unlock_shared ()

heads up, these are not member symbols, they're just hanging out nearby, iykyk:

template<typename _Mutex> void swap (shared_lock< _Mutex > &__x,
    shared_lock< _Mutex > &__y) noexcept
  • Swap specialization for shared_lock. ✨

πŸ’œ Detailed Description πŸ’œ

The standard shared mutex type.


πŸ‘‘ Author πŸ‘‘

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


and that's the whole page, periodt πŸŽ€βœ¨ this one rides with libstdc++ (the footer said so), and fr fr the footer didn't hand me a date so we're just vibing with the version, no cap. bye bestie, go acquire your locks responsibly πŸ’–πŸ¦‹

πŸ“¦ where this page comes from