Re: problem with trainin since upgrade to blamethesegfault
"Ger Hobbelt" <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 7, 2008 at 2:40 PM, Bill Y <[email protected]> wrote: > AAAUGH!!! OK, that's a bug. > > I want Mailtrainer to run in a separate instance... but in the > same "execution environment". > > Hmmm... I wonder if I can do a bit of fork magic here, and have > the forked instance check the FLAGS, and if the user has requested > it, re-init the engine and then load a new program, preprocess it, > JIT it, and start the new program executing...? > > That would also be a big win for demonization. > > Let me think on this. Okidoki. Erm, one thing: 'fork' is not really all that nice for my Win32 port at the moment (because I'm too lazy to add _that_ particular bit of support just yet), so I'ld like to ask you if you could think more in terms of turning mailtrainer into a library-like script, say, mailtrainlib.crm, which is than 'insert'-ed in the mailreaver.crm and mailtrainer.crm scripts. Since mailreaver waits for mailtrainer anyhow, the 'in-line' library single thread approach is identical in terms of performance to a fork()ed one. Just my 2 cents in trying to stay partially lazy ;-) Ger > > - Bill Yerazunis > > -- Met vriendelijke groeten / Best regards, Ger Hobbelt -------------------------------------------------- web: http://www.hobbelt.com/ http://www.hebbut.net/ mail: [email protected] mobile: +31-6-11 120 978 -------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone