KRB5\_IS\_THREAD\_SAFE(3) Library Functions Manual KRB5\_IS\_THREAD\_SAFE(3)

# [NAME](#NAME)

`krb5_is_thread_safe` — is the Kerberos library compiled with multithread support

# [LIBRARY](#LIBRARY)

Kerberos 5 Library (libkrb5, -lkrb5)

# [SYNOPSIS](#SYNOPSIS)

`#include <krb5.h>`

`krb5_boolean`  
`krb5_is_thread_safe`(`void`);

# [DESCRIPTION](#DESCRIPTION)

`krb5_is_thread_safe` returns `TRUE` if the library was compiled with with multithread support. If the library isn't compiled, the consumer have to use a global lock to make sure Kerboros functions are not called at the same time by different threads.

# [SEE ALSO](#SEE_ALSO)

[krb5\_create\_checksum(3)](/man/os/heimdal/krb5_create_checksum.3), [krb5\_encrypt(3)](/man/os/heimdal/krb5_encrypt.3)

May 5, 2006 HEIMDAL

---

Document: krb5_is_thread_safe(3) from heimdal 7.8.0-r53 (Chainguard OS)
Source: https://github.com/heimdal/heimdal
