lock_async


Description:

public async void lock_async (int priority = DEFAULT, Cancellable? cancellable = null) throws Error

Asynchronously 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