uwiger / locks

A scalable, deadlock-resolving resource locker
Mozilla Public License 2.0
205 stars 26 forks source link

Add async case to reply_await_/2 #39

Closed x0id closed 4 years ago

x0id commented 4 years ago

This is needed to support locks_agent:async_await_all_locks/1, to ensure the notification will be correctly sent to the caller.

Note, that this will help to partially mitigate https://github.com/uwiger/locks/issues/30, fixing one of the possible causes, but won't solve the issue entirely, since its the root cause is the locks_leader design specifics.