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.
In reply to Re: Re: Re: Re: Externally managed threads using embedded Perl
by Anonymous Monk
in thread Externally managed threads using embedded Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |