This is the mail archive of the mailing list for the pthreas-win32 project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: message queues & timers


[Sorry for the delay in responding. I've only just returned from vacation today.]

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.

-----Original Message-----
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?

Alex Blanco

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]