@lock


Description:

public void @lock (int priority = DEFAULT, Cancellable? cancellable = null) throws Error

Synchronously acquire an anonymous claim

You must release the claim with unlock.

Parameters:

priority

the priority with which to prepare the resource

cancellable

optional cancellable for aborting the opearation

See also:

lock_async




2022 vala-language.org