Skip to content

Conversation

joobog
Copy link
Collaborator

@joobog joobog commented Aug 27, 2025

Description

In this PR

  • The C++ mutex classes replace the corresponding MUTEX macros
  • A LockGuard class makes memory management safer by using RAII
  • The grib_trie data structure in BufrElementsTable is replaced with a thread-safe hashmap

JIRA: https://jira.ecmwf.int/browse/ECC-2142

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

@shahramn shahramn self-assigned this Aug 27, 2025
@shahramn shahramn added the approved-for-ci Approved to run CI on ECMWF machines label Aug 27, 2025
@joobog joobog force-pushed the feature/modernisation_thread_safety branch from 9c7c393 to c23f95f Compare September 9, 2025 09:13
@joobog joobog changed the title Use RAII LockGuard and thread-safe hashmap in BufrElementsTable ECC-2142: Use RAII LockGuard and thread-safe hashmap in BufrElementsTable Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-for-ci Approved to run CI on ECMWF machines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants