@lock
Description:
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 |