Make low-level memory pool functions lock-less