Václav Haisman

Results 212 comments of Václav Haisman

@jimjag Will 2.1.1 be released on Maven Central? I don't see it there.

Is it even feasible for DependencyCheck to work reasonably fast after this change? I have large projects with thousands of dependencies that I check using the Maven plugin.

The file name is taken from a macro expansion: https://github.com/log4cplus/log4cplus/blob/d41280358a95f28178d1df5d415acf167ff6e790/include/log4cplus/loggingmacros.h#L161-L166 Depending on a compiler, you can redefine it to your own liking. E.g., GCC supports [`__FILE_NAME__`](https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html#Common-Predefined-Macros) macro which gives you...

I have forked and modified this ThreadPool for use in log4cplus where I have implemented this functionality. See https://github.com/log4cplus/Threadpool. I believe the aim of this repository is to provide a...

> When you are destroying the object that owns the thread pool, you have to wait until the queue is empty and there are no threads running with the queued...

You have basically re-discovered [Amdalh's law](https://en.wikipedia.org/wiki/Amdahl%27s_law). Creating the threads and maintaining the queue costs time and the code you execute in the threads is very short. Also, it probably synchronizes...

I think that in general it is a good idea to notify inside the locked region because you can miss wakeups otherwise. But this code is not edge triggered but...

@persenlee That does not tell anyone much. What are the error messages? What was the compiler used to compile it? Etc.

This is unlikely to be problem in ThreadPool. It properly includes ``.