public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Ross Johnson <rpj@ise.canberra.edu.au>
To: "Medina Sr, Aurelio" <Aurelio.Medina@tdsecurities.com>
Cc: Blanco Alejandro-EAB005 <Alex.Blanco@motorola.com>,
	pthreads-win32@sources.redhat.com
Subject: Re: message queues & timers
Date: Mon, 24 Feb 2003 08:22:00 -0000	[thread overview]
Message-ID: <3E59D756.6060201@ise.canberra.edu.au> (raw)
In-Reply-To: <BB5DD0944D9CDC4ABF712C0BCAF7CC53234CBA@TDSI-EXCH-CHI1.CORP.TDSECURITIES.COM>

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
>  


  reply	other threads:[~2003-02-24  8:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14 18:14 Medina Sr, Aurelio
2003-02-24  8:22 ` Ross Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-14 17:16 Blanco Alejandro-EAB005

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E59D756.6060201@ise.canberra.edu.au \
    --to=rpj@ise.canberra.edu.au \
    --cc=Alex.Blanco@motorola.com \
    --cc=Aurelio.Medina@tdsecurities.com \
    --cc=pthreads-win32@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).