Thread-Pool
(0.33)
This module is indeed convenient, but in my opinion there are some serious problems with it.
First, if a thread dies, the error gets lost. I would expect that if one of my jobs dies, that I can get the value of $@ and act on it. There is a workaround: I can wrap all my jobs in some error handler of their own. But that defeats the elegance of code using this module, and still any errors in the error handler get lost.
Second, this module is using 'use load' which causes Log::Log4perl to malfunction. That is certainly one evil heisenbug. It was only because I found a Czech comment in this source file [1] that it didn't take me days of debugging.
[1]: w2c.martin.majlis.cz/w2c/doc-gen/craw...
R. Lamers - 2012-08-15T04:26:26 (permalink)
1 out of 1 found this review helpful.
Was this review helpful to you?
Yes
No

