Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] sync causing crash

2005-10-14 by Matthew S. Cramer

On Thu, Oct 13, 2005 at 09:01:01PM +0000, Emmanuel Dreyfus wrote:

> > Actually - is there a global structure to which I can add a thread
> > count and then increment during any pthread_create (and decrement
> > during the destroy)?
> 
> You can add a global and change it in mlfi_connect (+1) and mlfi_close (-1)

Do I need to lock this variable, or is that handled automagically?


Thanks,

Matt

-- 
Matthew S. Cramer <mscramer@...>          Office: 717-396-5032
Project Manager, Planning and Service Management    Fax:    717-396-5590
Armstrong World Industries, Inc.                    Cell:   717-917-7099

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.