in reply to Re: Re: Re: Externally managed threads using embedded Perl
in thread Externally managed threads using embedded Perl
Yep, that's pretty much it.
The existing script is SpamAssassin's spamd. It is designed to run on *nix and uses fork and signals and other stuff that don't work too well on Win32. It reads and writes from/to a socket.
I find C++ much more productive that Perl - I guess it's just a question of what you know <g>.
I'll do some work with cloning and see what happens.
BTW, if I:
my $spamtest = SpamAssassin::Mail::SpamAssassin->new(...) : shared;
will $spamtest be available in the clone if I perl_clone after this Perl code is executed?
You've been most helpful. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Externally managed threads using embedded Perl
by BrowserUk (Patriarch) on Jan 08, 2004 at 06:30 UTC | |
by Anonymous Monk on Jan 08, 2004 at 07:18 UTC | |
by BrowserUk (Patriarch) on Jan 08, 2004 at 07:34 UTC |