This is the mail archive of the
mailing list for the pthreas-win32 project.
Re: snapshot-2002-03-02 available
- From: Ross Johnson <rpj at ise dot canberra dot edu dot au>
- To: "Crescioli, Phil" <pcrescioli at dsrnet dot com>
- Cc: pthreads-win32 at sources dot redhat dot com
- Date: Tue, 05 Mar 2002 09:56:45 +1100
- Subject: Re: snapshot-2002-03-02 available
- Organization: University of Canberra, DMT, xISE
- References: <33F012255162604984A3F4BDA95C6EC43C3849@mstaex1b.DSRUSI.com>
- Reply-to: rpj at ise dot canberra dot edu dot au
"Crescioli, Phil" wrote:
> Your win32pthreads lib saved me so much time porting my threaded code
> from unix to windows!
> Unfortunately some of my code works by sending data via
> message queues
> between threads of different processes. Any idea if your going to
> _POSIX_THREAD_PROCESS_SHARED in a near future release?
> Phil Crescioli
As you know, there has been an attempt in the past to
include message queues.
Aurelio Medina <AMedina at xcaliber dot com> wrote an
implementation but unfortunately it relied on process shared
mutexes etc, which aren't supported by pthreads-win32.
Although, it did work for single process applications.
See thread starting at
Process shared objects would have to be the next major
ToDo for pthreads-win32 because there isn't a lot more that
can be added to the library without them. A few people have
been looking for message queues and possibly many others
who have considered pthreads-win32 and then silently moved
I'm not sure if this is possible to do while supporting the
full POSIX semantics, but perhaps a restricted version might
be possible making use of Win32 named objects, putting
just the names into shared memory. The starting point
would have to be process shared semaphores, then the
other devices would start to fall into place.
I'll have to check over past discussion of this issue, but
I seem to recall some of the reasons it hasn't been done
- technical feasibility. Anything is possible, but will it
maximise the return on the investment :^);
- low priority. People who are willing to contribute
time to the library don't need the feature themselves;
- it may start to pull in parts of the POSIX standard
that are beyond the intended scope of the library,
i.e. shared memory routines, even message queues.
Have you looked at other POSIX compatibility projects
such as Cygwin or UWIN?
> >>>The following POSIX 1003.1 2001 options are not defined:
> > -----Original Message-----
> > From: Ross Johnson [SMTP:firstname.lastname@example.org]
> > Sent: Saturday, March 02, 2002 1:24 AM
> > To: email@example.com
> > Subject: NEW: snapshot-2002-03-02 available
> > There are bugs fixes, new routines, new tests, and a lot
> > of reorganisation. Please see the ANNOUNCE, NEWS, and BUGS
> > files in the package or at:
> > http://sources.redhat.com/pthreads-win32/announcement.html
> > There is also an updated Copyright notice on the source
> > code, but NO CHANGE to the licensing, which is the GNU LGPL.
> > The Copyright notice replaces the original inadequate notice
> > and reflects the heritage of the project.
> > The Copyright notice is slightly different to the one that I
> > proposed on this list a few months back. This change was at
> > my own instigation. I don't expect anyone to have any
> > objection to it since there was no objection to the previous
> > one, but please let me know if you do.
> > I've also made acknowledgements more prominent in the
> > CONTRIBUTORS file and ChangeLog to go with the change in the
> > copyright notice. Let me know if I've missed you out, or
> > missed noting any significant contributions.
> > Enjoy!
> > Ross