[prev in list] [next in list] [prev in thread] [next in thread]
List: log4cxx-dev
Subject: [jira] [Created] (LOGCXX-448) config-thread hangs foreever in sleep if a very short lookup intervall
From: "Ben-Alexander Altendorf (JIRA)" <log4cxx-dev () logging ! apache ! org>
Date: 2014-12-01 14:56:12
Message-ID: JIRA.12758663.1417445746000.48980.1417445772366 () Atlassian ! JIRA
[Download RAW message or body]
Ben-Alexander Altendorf created LOGCXX-448:
----------------------------------------------
Summary: config-thread hangs foreever in sleep if a very short lookup \
intervall was configured Key: LOGCXX-448
URL: https://issues.apache.org/jira/browse/LOGCXX-448
Project: Log4cxx
Issue Type: Bug
Components: Configurator
Affects Versions: 0.10.0, 0.11.0
Environment: FreeBSD-8, gcc 4.2.1
Reporter: Ben-Alexander Altendorf
Priority: Minor
If one configure a very short intervall for watching the l4x configuration file \
application hangs forever on exit. The short lookup intervall is only to reproduce \
this error on faster machines. We encountered the error on our slow single cpu target \
machines.
simple demo prog:
#include <log4cxx/xml/domconfigurator.h>
int main(int argc, char* argv[])
{
std::string configFile = "test.l4x";
log4cxx::xml::DOMConfigurator::configureAndWatch(configFile, 1);
sleep(2);
return 0;
}
hangs forever in Thread::sleep
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic