memgraph/query_modules
gvolfing 476968e2c8
Fix concurrent query module race condition (#1158)
Concurrent access to the same query module had a race condition on the
pointer that was used to handle the custom memory management. With this
commit, a mapping has been added to keep information about what
thread used the pointer to handle the memory resources. This should be
fine since the respected query executions are running on a dedicated
thread. Access to the mapping itself is threadsafe. A simple RAII
wrapper for the mapping container has also been added for simpler
client-side use.
2023-08-21 16:45:36 +02:00
..
CMakeLists.txt Add C++ query modules API (#546) 2022-09-15 11:26:26 +02:00
example.c Add example write procedure (#244) 2021-10-02 13:18:37 +02:00
example.cpp Fix concurrent query module race condition (#1158) 2023-08-21 16:45:36 +02:00
example.py Remove debug print (#251) 2021-10-07 09:14:05 +02:00
graph_analyzer.py Improve NetworkX module import (#21) 2020-10-15 09:14:50 +02:00
mgp_networkx.py Improve NetworkX module import (#21) 2020-10-15 09:14:50 +02:00
nxalg.py Improve NetworkX module import (#21) 2020-10-15 09:14:50 +02:00
wcc.py Improve NetworkX module import (#21) 2020-10-15 09:14:50 +02:00