@@ -200,8 +200,6 @@ void util::MetadataSBN::postBeginJob()
200200// PostOpenFile callback.
201201void util::MetadataSBN::postOpenInputFile (std::string const & fn)
202202{
203- std::lock_guard lock (fMutex );
204-
205203 // save parent input files here
206204 // 08/06 DBrailsford: Only save the parent string if the string is filled. The string still exists (with 0 characters) for generation stage files. See redmine issue 20124
207205 if (fn.length () > 0 ) md.fParents .insert (fn);
@@ -279,8 +277,6 @@ std::string Escape(const std::string& s)
279277// --------------------------------------------------------------------
280278std::string util::MetadataSBN::GetParentsString () const
281279{
282- std::lock_guard lock (fMutex );
283-
284280 if (md.fParents .empty ()) return " " ;
285281
286282 unsigned int c = 0 ;
@@ -303,8 +299,6 @@ std::string util::MetadataSBN::GetParentsString() const
303299// --------------------------------------------------------------------
304300std::string util::MetadataSBN::GetRunsString () const
305301{
306- std::lock_guard lock (fMutex );
307-
308302 unsigned int c = 0 ;
309303
310304 std::string ret = " [\n " ;
@@ -324,8 +318,6 @@ void util::MetadataSBN::GetMetadataMaps(std::map<std::string, std::string>& strs
324318 std::map<std::string, double >& doubles,
325319 std::map<std::string, std::string>& objs)
326320{
327- std::lock_guard lock (fMutex );
328-
329321 strs.clear (); ints.clear (); doubles.clear (); objs.clear ();
330322
331323 objs[" application" ] = " {\" family\" : \" " +std::get<0 >(md.fapplication )+" \" , \" name\" : \" " +std::get<1 >(md.fapplication )+" \" , \" version\" : \" " +std::get<2 >(md.fapplication )+" \" }" ;
@@ -373,8 +365,6 @@ void util::MetadataSBN::GetMetadataMaps(std::map<std::string, std::string>& strs
373365// PostCloseFile callback.
374366void util::MetadataSBN::postCloseInputFile ()
375367{
376- std::lock_guard lock (fMutex );
377-
378368 // update end time
379369 md.fend_time = time (0 );
380370
0 commit comments