Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init初始化的时候死循环 #7

Open
alvinlmf opened this issue May 13, 2024 · 2 comments
Open

init初始化的时候死循环 #7

alvinlmf opened this issue May 13, 2024 · 2 comments

Comments

@alvinlmf
Copy link

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

@MengRao
Copy link
Owner

MengRao commented May 13, 2024

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

@alvinlmf
Copy link
Author

alvinlmf commented May 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants