mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Using multiple threads in reading logs via rule message example
This commit is contained in:
@@ -38,10 +38,7 @@ namespace backend {
|
||||
|
||||
InMemoryPerProcess::InMemoryPerProcess() {
|
||||
this->reserve(1000);
|
||||
if (pthread_mutex_init(&m_lock, NULL) != 0)
|
||||
{
|
||||
printf("\n mutex init failed\n");
|
||||
}
|
||||
pthread_mutex_init(&m_lock, NULL);
|
||||
}
|
||||
|
||||
InMemoryPerProcess::~InMemoryPerProcess() {
|
||||
|
Reference in New Issue
Block a user