Re: [Exim] Tests needed: semaphores

Top Page
Delete this message
Reply to this message
Author: Bart van Dommelen
Date:  
To: Philip Hazel, exim-users
Subject: Re: [Exim] Tests needed: semaphores
Hi,

Debian Linux:

bart@dommel~# ./a.out
713 semaphore 257 created
714 semaphore exists: waiting
714 semaphore exists: waiting
713 removed semaphore 257
714 semaphore 385 created
714 removed semaphore 385
bart@dommel~#


Regards,

-Bart.


At 3-7-2001 14:39 +0100, Philip Hazel wrote:
>I'm considering making use of semaphores in Exim 4 for things like
>preventing simultaneous identical ETRN runs. (At present it uses a
>hints database.) All the OS that I have tried seem to have the relevant
>facilities (the semctl(), semget(), and semop() functions), though not
>all are quite the same. I have tried Solaris 8, Linux (RH), IRIX,
>FreeBSD, HP-UX, Digital Unix, SunOS4, BSDI, NetBSD and SCO.
>
>I would be grateful if people running other operating systems could run
>the attached test program for me, and let me know what happens. See the
>comments at the start of the program about running it and what to
>expect. It is most likely that if it compiles, it will run OK. There are
>some tweaks you can make for certain compiling problems that I
>encountered on BSDI and NetBSD. They are also mentioned in the comments.
>
>Thanks,
>Philip
>
>--
>Philip Hazel            University of Cambridge Computing Service,
>ph10@???      Cambridge, England. Phone: +44 1223 334714.