From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14361 invoked by alias); 24 Feb 2003 08:22:48 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 14143 invoked from network); 24 Feb 2003 08:20:08 -0000 Received: from unknown (HELO digit.ise.canberra.edu.au) (137.92.140.41) by 172.16.49.205 with SMTP; 24 Feb 2003 08:20:08 -0000 Received: from ise.canberra.edu.au (localhost.localdomain [127.0.0.1]) by digit.ise.canberra.edu.au (8.12.5/8.12.5) with ESMTP id h1O8R2cA031239; Mon, 24 Feb 2003 19:27:04 +1100 Message-ID: <3E59D756.6060201@ise.canberra.edu.au> Date: Mon, 24 Feb 2003 08:22:00 -0000 From: Ross Johnson Organization: University of Canberra, Management and Technology User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Medina Sr, Aurelio" CC: Blanco Alejandro-EAB005 , pthreads-win32@sources.redhat.com Subject: Re: message queues & timers References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003/txt/msg00023.txt.bz2 Hi, [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: http://sources.redhat.com/ml/pthreads-win32/2001/msg00101.html Regards. Ross 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. > > Aurelio > -----Original Message----- > From: Blanco Alejandro-EAB005 [mailto:Alex.Blanco@motorola.com] > Sent: Friday, February 14, 2003 11:16 AM > To: 'pthreads-win32@sources.redhat.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 >