in reply to Re^2: How do I make a PSGI program do costly initialisation only once per process, not per thread?
in thread How do I make a PSGI program do costly initialisation only once per process, not per thread?
To comment out line #38 (loader => 'Delayed') in thrall.bat?
Setting environment variable PERL_THRALL_DEBUG=1, and adding something like say "...in main, thread is ", threads-> tid; into "main" of your app might help to debug.
Will this change to .bat break anything? I don't know, but...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How do I make a PSGI program do costly initialisation only once per process, not per thread?
by daxim (Curate) on Jun 07, 2017 at 11:02 UTC |