HomeClusterLabs Projects

sam: Do not lock sam_register
0c14101722f2Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

sam: Do not lock sam_register

sam_register is function which is really not intended to be
ever called in any other thread than main one so it is safe to not use
the lock to prevent possible problems with fork.

Special thanks to Christine Caulfield <ccaulfie@redhat.com> for
mentioning possible problems with mutex and fork.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
jfriesseAuthored on Mon, Sep 1, 3:22 AM
Parents
rC71747fcf8cbd: cmapctl: Check return code of cmap_set_uint32
Branches
Unknown
Tags
Unknown

Event Timeline