mirror of
https://github.com/ceph/ceph
synced 2024-12-25 21:03:31 +00:00
Merge pull request #1424 from fractalcat/thread-safety-doc-update
rados_connect not thread-safe when using nss (documentation) Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
commit
9987e486ad
@ -355,6 +355,9 @@ int rados_ping_monitor(rados_t cluster, const char *mon_id,
|
||||
*
|
||||
* @post If this succeeds, any function in librados may be used
|
||||
*
|
||||
* @warning This function is not thread-safe if using libnss (built with
|
||||
* --with-nss); callers must implement their own locking mechanisms.
|
||||
*
|
||||
* @param cluster The cluster to connect to.
|
||||
* @returns 0 on sucess, negative error code on failure
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user