Skip to content

Message lost of locks_running -- may cause deadlock #38

@xinhaoyuan

Description

@xinhaoyuan

locks_watcher is notified by

catch locks_watcher ! locks_running,

However, the message could be lost if a locks_server is started after

case whereis(locks_server) of

but the message is sent before the name locks_watcher is registered.

try register(locks_watcher, self()),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions