The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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