art-framework-suite / art-root-io

0 stars 2 forks source link

TFileDirectory needs to use a shared mutex #10

Closed knoepfel closed 2 years ago

knoepfel commented 2 years ago

As described in issue https://github.com/art-framework-suite/art-root-io/issues/9, each TFileDirectory object has its own mutex. Because a TFileDirectory object serves as a proxy to a global resource (i.e. gDirectory), each TFileDirectory object should use a shared mutex.

knoepfel commented 2 years ago

@kutschke--the fix to this issue also restores the copy operations of TFileDirectory.