This is the mail archive of the
mailing list for the pthreas-win32 project.
Re: message queues & timers
- From: Ross Johnson <rpj at ise dot canberra dot edu dot au>
- To: "Medina Sr, Aurelio" <Aurelio dot Medina at tdsecurities dot com>
- Cc: Blanco Alejandro-EAB005 <Alex dot Blanco at motorola dot com>, pthreads-win32 at sources dot redhat dot com
- Date: Mon, 24 Feb 2003 19:27:02 +1100
- Subject: Re: message queues & timers
- Organization: University of Canberra, Management and Technology
- References: <BB5DD0944D9CDC4ABF712C0BCAF7CC53234CBA@TDSI-EXCH-CHI1.CORP.TDSECURITIES.COM>
[Sorry for the delay in responding. I've only just returned from
The reason Aurelio's message queues aren't in the distribution is
that they rely on PROCESS_SHARED attribute objects, which are not
implemented in pthreads-win32, and therefore they won't work for
IPC. They do work within the same process though, but this is too
limited IMO. If included, I think they would be a trap for
programmers expecting to use them for IPC. See for example:
Medina Sr, Aurelio wrote:
If I remember correctly it was left out because it's not technically part of the POSIX Threads standard. It would be nice however if it was included as a separately library that came packaged with PThreads-Win32.
From: Blanco Alejandro-EAB005 [mailto:Alex dot Blanco at motorola dot com]
Sent: Friday, February 14, 2003 11:16 AM
To: 'pthreads-win32 at sources dot redhat dot com'
Subject: message queues & timers
I found many threads on Aurelio Medina's message queue implementation, but it does not appear to be in the distribution. I grabbed the latest version from the mailing list, but is there a reason not to put it in the release?
Is there support for timers? I know without signals it is hard to have general purpose support, but what about just supporting SIGEV_THREAD that uses a notification function?