Replaced ACE_Task_Base based LogWorker with ProducerConsumerQueue
This commit is contained in:
1 parent
a5c742dafe
commit
eb36acd152
7 files changed
+141
-34
No files matched your search
@@ -273,7 +273,7 @@ void Log::write(LogMessage* msg) const
|
||||
msg->text.append("\n");
|
||||
|
||||
if (worker)
|
||||
worker->enqueue(new LogOperation(logger, msg));
|
||||
worker->Enqueue(new LogOperation(logger, msg));
|
||||
else
|
||||
{
|
||||
logger->write(*msg);
|
||||
|
||||
Reference in new issue
Block a user