pub const dr_alloc_flags_t_DR_ALLOC_THREAD_PRIVATE: dr_alloc_flags_t = 2;Expand description
This flag only applies to heap memory (i.e., when #DR_ALLOC_NON_HEAP is not specified). If this flag is not specified, global heap is used (just like dr_global_alloc()) and the \p drcontext parameter is ignored. If it is specified, thread-private heap specific to \p drcontext is used, just like dr_thread_alloc().