method unlock

Documentation for method unlock assembled from the following types:

class Lock::Async

From Lock::Async

(Lock::Async) method unlock

Defined as:

method unlock(Lock::Async:D: --> Nil)

Releases the lock, blocking until all Promised of all holders of the lock have been kept.

my $l =;

class IO::Handle

From IO::Handle

(IO::Handle) method unlock

Defined as:

method unlock(IO::Handle:D: --> True)

Removes a lock from the filehandle.

class IO::CatHandle

From IO::CatHandle

(IO::CatHandle) method unlock

Defined as:

method unlock(IO::CatHandle:D:)

Same as IO::Handle.unlock. Returns Nil if the source handle queue has been exhausted.

Unlocks only the currently active source handle. The .on-switch Callable can be used to conveniently lock/unlock the handles as they're being processed by the CatHandle.

class Lock

From Lock

(Lock) method unlock

Defined as:

method unlock(Lock:D:)

Releases the lock.

my $l =;

Please see the description of .lock above.