SPVM::Sync::Mutex(3)
πΈ NAME πΈ
okay so this page is SPVM::Sync::Mutex β Mutex π β straight out of the User Contributed Perl Documentation, section 3. the full name vibe is literally SPVM::Sync::Mutex - Mutex, and thatβs the whole title, bestie π
.
β¨ DESCRIPTION β¨
The Sync::Mutex class in SPVM has methods to manipulate mutex. thatβs the plot, and honestly it ate π«Ά.
π USAGE π
hereβs the little group-chat demo, exactly as written:
use Sync::Mutex;
my $mutex = Sync::Mutex->new;
$mutex->lock;
$mutex->unlock;
no cap, thatβs the whole usage flex π.
π CLASS METHODS π
π« new π«
static method new : Sync::Mutex ();
Creates a new Sync::Mutex object, initializes it by calling the new_instance mutex native API, and returns it. iconic behavior, fr fr β¨.
π INSTANCE METHODS π
π DESTROY π
method DESTROY : void ();
Destroys this instance by calling the free_instance mutex native API. clean up your room, bestie π§Ή.
π lock π
method lock : void ();
Locks this mutex by calling the lock mutex native API. locked in, literally π₯.
π unlock π
method unlock : void ();
UnLocks this mutex by calling the unlock mutex native API. freedom era π
.
π reader_lock π
method reader_lock : void ();
Locks this mutex for reading by calling the reader_lock mutex native API. reading time, bestie πΈ.
π reader_unlock π
method reader_unlock : void ();
UnLocks this mutex locked by the reader_lock method by calling the reader_unlock mutex native API. and we unlock, periodt π.
π COPYRIGHT & LICENSE π
Copyright (c) 2023 Yuki Kimoto π
MIT License β¨
okay bestie, thatβs the whole page! this one comes from perl v5.42.2, dated 2026-02-03, and itβs SPVM::Sync::Mutex(3) β love u, bye ππ
π¦ where this page comes from
- alpine 3.24: spvm-doc 0.990125-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms