eccodes icon indicating copy to clipboard operation
eccodes copied to clipboard

Avoid accessing a trie node outside of the critical region.

Open shinji-s opened this issue 3 years ago • 1 comments

It is thread-unsafe to dereference a pointer to a trie node outside of the critical region protected by the mutex because another thread may delete the node before the dereference, isn't it? (This PR supercedes https://github.com/ecmwf/eccodes/pull/38.)

shinji-s avatar Nov 14 '20 06:11 shinji-s

Failure of travis-ci test is due to a failure in downloading test data. This happens at higher probability recently.

shinji-s avatar Nov 14 '20 09:11 shinji-s