pub unsafe extern "C" fn mm_tbuf_init() -> *mut mm_tbuf_t
Expand description

Initialize a thread-local buffer for mapping

Each mapping thread requires a buffer specific to the thread (see mm_map() below). The primary purpose of this buffer is to reduce frequent heap allocations across threads. A buffer shall not be used by two or more threads.

@return pointer to a thread-local buffer