Function minimap2_sys::mm_tbuf_init
source · [−]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