Re: Creating a thread pool within a callback cause segfault
[email protected] (Elizabeth Mattijsen) Fri, 23 Jan 2004 23:52:29 +0100
| Newsgroups | perl.loop |
|---|---|
| Message-ID | <p05111b03bc3755d0997d@[192.168.56.3]> |
At 17:37 -0500 1/23/04, Gensky Regnus wrote: >>I would welcome any insights... I don't have any tuits to pursue >>that kind of problem with Thread::Pool. >>I checked whether this might be related to the on-demand loading of >>subs of Thread::Pool. Forcing loading of all subroutines at >>compile time (by specifying the environment variable LOAD_NOW) >>gives identical results, so I think we can rule out that as a >>problem. >Does the LOAD_NOW variable affect the other Thread::* modules that >collaborate with Thread::Pool? If they're written by me, there is a good chance. Check the Required Modules section in the pod: if "load" is mentioned, it should work. >Using Event-0.87, Thread::Pool 0.32 and perl 5.8.2/cygwin Ah... Cygwin... well.. I reproduced the problem on Linux, so that may not have anything to do with it. Liz