Skip to main content

xmlCheckThreadLocalStorage

Function xmlCheckThreadLocalStorage 

Source
#[unsafe(no_mangle)]
pub const extern "C" fn xmlCheckThreadLocalStorage() -> c_int
Expand description

Check the thread-local storage (upstream threads.h xmlCheckThreadLocalStorage): returns 0 when TLS is functional, -1 otherwise. The candidate uses Rust thread-locals which are always functional.

§UPSTREAM-PARITY

int xmlCheckThreadLocalStorage(void);