Avoid allocating extra memory for synchronization primitives