TrigConfIO: thread-safety fixes
Remove usage of `strtok` (the code was dead anyway) and update documentation. Do not cache schema version and leave this up to the caller. In all current cases, the DB loader is instantiated every time a DB access occurs so this caching did not really bring any improvement.
parent
20ecae14
Showing
- Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/ATLAS_CHECK_THREAD_SAFETY 1 addition, 0 deletions...iguration/TrigConfIO/TrigConfIO/ATLAS_CHECK_THREAD_SAFETY
- Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/JsonFileLoader.h 1 addition, 2 deletions.../TrigConfiguration/TrigConfIO/TrigConfIO/JsonFileLoader.h
- Trigger/TrigConfiguration/TrigConfIO/TrigConfIO/TrigDBLoader.h 5 additions, 5 deletions...er/TrigConfiguration/TrigConfIO/TrigConfIO/TrigDBLoader.h
- Trigger/TrigConfiguration/TrigConfIO/src/JsonFileLoader.cxx 4 additions, 32 deletionsTrigger/TrigConfiguration/TrigConfIO/src/JsonFileLoader.cxx
- Trigger/TrigConfiguration/TrigConfIO/src/TrigDBHLTPrescalesSetLoader.cxx 3 additions, 2 deletions...figuration/TrigConfIO/src/TrigDBHLTPrescalesSetLoader.cxx
- Trigger/TrigConfiguration/TrigConfIO/src/TrigDBJobOptionsLoader.cxx 3 additions, 2 deletions...igConfiguration/TrigConfIO/src/TrigDBJobOptionsLoader.cxx
- Trigger/TrigConfiguration/TrigConfIO/src/TrigDBL1BunchGroupSetLoader.cxx 3 additions, 2 deletions...figuration/TrigConfIO/src/TrigDBL1BunchGroupSetLoader.cxx
- Trigger/TrigConfiguration/TrigConfIO/src/TrigDBL1PrescalesSetLoader.cxx 3 additions, 2 deletions...nfiguration/TrigConfIO/src/TrigDBL1PrescalesSetLoader.cxx
- Trigger/TrigConfiguration/TrigConfIO/src/TrigDBLoader.cxx 12 additions, 17 deletionsTrigger/TrigConfiguration/TrigConfIO/src/TrigDBLoader.cxx
- Trigger/TrigConfiguration/TrigConfIO/src/TrigDBMenuLoader.cxx 5 additions, 3 deletions...ger/TrigConfiguration/TrigConfIO/src/TrigDBMenuLoader.cxx
Loading
Please register or sign in to comment