You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep. If you have a program that tries to fork() and then tries to use NNG in the child (without calling exec) then it fails. There are a lot of problems with fork() and threads - too many for NNG to attempt to solve. (Fork and pthreads are basically inherently incompatible.)
I'm going to close this, because it's a well known - and documented - issue. You can't use fork() (unless you are going to exec immediately afterwards in the child) with NNG.
Error:
panic: nng is not fork-reentrant safe
This message is indicative of a BUG.
Report this at https://github.com/nanomsg/nng/issues
The text was updated successfully, but these errors were encountered: