[Mimedefang] Sharing data between slaves

Chris Masters rotis23 at yahoo.com
Mon Feb 23 14:49:26 EST 2004


Thanks for your response David.

> > So, is there an easy way to share this handle
> between
> > slaves (the library is thread-safe)?
> 
> Nope.

Didn't think so.

> You might need to write a daemon that the Perl
> slaves talk to using IPC,
> and have the daemon maintain a single handle.
> 

I think the best option (after additional thought) is
to write a server that mantains the lifetime of the
handle AND it's use and just to return the relevant
data to the slaves. It would just have to maintain a
thread pool the same size as the number of slaves - to
be efficient.


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools



More information about the MIMEDefang mailing list