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