Create NkiMemory.h

a memory-pool which can support multi-thread call