mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 23:15:16 +00:00
9b0b33e4ae
The debug_instance_list is not protected by mutex, and the debug instance uses the length of this list as its id. If several threads create debug instance at the same time, they may get duplicated/same ids. This patch adds mutex to protect this list. |
||
---|---|---|
.. | ||
debug_engine.c | ||
debug_engine.cmake | ||
debug_engine.h | ||
gdbserver.c | ||
gdbserver.h | ||
handler.c | ||
handler.h | ||
packets.c | ||
packets.h | ||
utils.c | ||
utils.h |