Name

SPVM::Sync::Mutex - Mutex

Description

Sync::Mutex class of SPVM has methods to manipulate mutex.

Usage

use Sync::Mutex;

my $mutex = Sync::Mutex->new;

$mutex->lock;

$mutex->unlock;

Class Methods

static method new : Sync::Mutex ();

Instance Methods

DESTROY

method DESTROY : void ();

lock

method lock : void ();

unlock

method unlock : void ();

reader_lock

method reader_lock : void ();

reader_unlock

method reader_unlock : void ();

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License