1 #ifndef FWCore_Concurrency_ThreadSafeOutputFileStream_h
2 #define FWCore_Concurrency_ThreadSafeOutputFileStream_h
4 #include "tbb/concurrent_queue.h"
17 explicit operator bool()
const {
return static_cast<bool>(
file_); }
tbb::concurrent_queue< std::string > waitingMessages_
std::atomic< bool > msgBeingLogged_
ThreadSafeOutputFileStream(std::string const &name)
~ThreadSafeOutputFileStream()
void write(std::string &&msg)