MengRao/WFMPMC

init初始化的时候死循环

alvinlmf opened this issue · 2 comments

WFMPMC.h 57行那里,init_state我遇到了一种情况:init_state 为一个2打头的随机值,然后就卡在那行

// shmInit() should only be called for objects allocated in SHM and are zero-initialized
调用shmInit的时候,内存必须是全0初始化的