Am 17.07.2013 18:47, schrieb bugzi...@apache.org:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=55153
> 
> --- Comment #10 from Massimo Manghi <mxman...@apache.org> ---
> Brilliant Harald
> 
> My patch with Rivet_CreateTclInterp(s) was meant to create the Tcl interpreter
> anew hoping for the best about all the subsystems involved. It seems it didn't
> work. I tried it myself also Finalizing Rivet's master interpreter before
> Rivet_InitHandler exits, but I got a segmentation fault when the first request
> is served
> 
> Please, would you share your patch to Tcl? Have you considered about a TIP?

Well, I have done everything I thought is appropriate:
- message on clt - question if it is a bug fix or a tip required
- branch on core.tcl.tk/core
- rfe there
- documentation everywhere around 5 times...

To fix it without this tcl patch, I suppose we can only create the
interpreter in child initialisation and have to withdraw the forking of
interpreters...

I have reasoned the requirement by the fact, that the following feature
saved 40 minuites of boot time for FlightAware (what I think I have read
here):

- Start master interpreter
- source packages
- fork a client interpreter
- open data base connections etc.

If not so, we should revert this, and just do all of that after the fork.

Enjoy,
Harald



---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to