Disables c++11 mutex, until we have a better approach

This commit is contained in:
Felipe Zimmerle 2015-08-11 16:05:06 -03:00
parent ac2f0bfd08
commit b325834f1e

View File

@ -15,13 +15,13 @@
#include "src/audit_log_writer_serial.h"
#include <mutex>
// #include <mutex>
#include "src/audit_log.h"
namespace ModSecurity {
static std::mutex serialLoggingMutex;
// static std::mutex serialLoggingMutex;
AuditLogWriterSerial::~AuditLogWriterSerial() {
@ -52,9 +52,9 @@ bool AuditLogWriterSerial::write(Assay *assay, int parts) {
generateBoundary(&boundary);
serialLoggingMutex.lock();
// serialLoggingMutex.lock();
log << assay->toOldAuditLogFormat(parts, "-" + boundary + "--");
serialLoggingMutex.unlock();
// serialLoggingMutex.unlock();
return true;
}