Closed Baltoli closed 7 years ago
Thinking about it, multiple usages would be covered by a combination of RBA and call order - in order to use the lock multiple times, you would be in a situation where you acquire after releasing (so release before acquire).
Written an example to demonstrate that this is indeed the case. Note that in the future these constraints might need to be relaxed (to allow for multiple usages, repeats etc)
Ensure that the lock is only used once. It may be the case that this ends up being covered by other analyses (such as the rba analysis), but it's worth checking this just in case.