|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Wietse Venema (wietse
porcupine.org)
Date: Mon Sep 03 2007 - 14:30:47 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ronald F. Guilmette:
>
> In message <20070903182725.458B91F3E9D
spike.porcupine.org>,
> wietse
porcupine.org (Wietse Venema) wrote:
>
> >Ronald F. Guilmette:
> >> Anyway, recently I got to wondering: Do milter programs that are
> >> only going to be used in conjunction with Postfix (and _not_ any
> >> other kind of mail server, e.g. Sendmail) really need to be thread-
> >> safe?
> >
> >Yes, it needs to be thread safe. This means jumping hoops when
> >you maintain persistent data structures, global variables. It
> >also means you can't call functions that aren't thread safe.
>
> Yes, that's what I thought it meant.
>
> Ugg! I hate to have to do all of this extra work, just to write a
> rather simple milter.
>
> Just for the sake of my edification, could you please also tell me
> _why_ a Postfix milter has to be thread safe?
There is no such thing as a Postfix Milter.
Your milter application runs on top of libmilter.
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]