AnsweredAssumed Answered

VDK memory Pools

Question asked by tcmichals on Mar 10, 2010
Latest reply on Mar 11, 2010 by tcmichals

void* VDK::MallocBlock(VDK::PoolID inPoolID);,

void VDK::FreeBlock(VDK::PoolID inPoolID, void  *inBlockPtr);

 

Is there any locking of these functions, ie kernel lock, or interrupt lock? Want to make sure that two threads can access the same pool without any issues... ie producer-consumer (thread (A) allocs, thread (B) frees)

Outcomes