Thread safety issue #277
Labels
⬆️ high priority
High priority issues
good first issue
Good for newcomers
🐞 bug
Something isn't working
🆘 help wanted
Extra attention is needed
urgent
Required to move forward
So the code for the backend (neroshop daemon) is not thread safe and sometimes random segment faults occur and I'd often get deadlocks when using mutexes. I have no knowledge in threads or thread-safety practices so I need someone far more knowledgeable than me who can help make this as thread-safe as possible.
There are countless threads being used and many threads are within other threads which probably makes the issue much worse I think.
src/daemon/main.cpp
src/core/protocol/node.cpp
src/core/protocol/routing_table.cpp
src/core/protocol/key_mapper.cpp
The text was updated successfully, but these errors were encountered: