ImagingDataCommons / libdicom

C library for reading DICOM files
https://libdicom.readthedocs.io
MIT License
16 stars 7 forks source link

Implement init function to make library thread safe #19

Closed hackermd closed 1 year ago

hackermd commented 1 year ago

PR #9 made the library single-threaded, since the hash table is built on first use. We could implement a dcm_init() function to start the library up and do all initialisation in that. All subsequent stuff will then be thread-safe.

jcupitt commented 1 year ago

Should be fixed with #38