public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* RE: Réf. : Re: PThread-win32 : Message Queue
@ 2003-10-15 21:50 Medina Sr, Aurelio
  0 siblings, 0 replies; 2+ messages in thread
From: Medina Sr, Aurelio @ 2003-10-15 21:50 UTC (permalink / raw)
  To: h.piat, pthreads-win32

I contributed this code but never compiled it with gcc under Win32.  I only compiled the code with MS Visual C++.  What version of gcc are you using?

Aurelio Medina

-----Original Message-----
From: h.piat@faiveley.com [mailto:h.piat@faiveley.com]
Sent: Monday, October 13, 2003 9:43 AM
To: pthreads-win32@sources.redhat.com
Subject: Réf. : Re: PThread-win32 : Message Queue





Yes you are in the right. I only want to add this contrib file inside my
project.
My project add directly Pthread lib "libpthreadGC.a", and it works fine.

But I'm unable to compile "mqueue.c". Do you have an idea ?








Ross Johnson <rpj@callisto.canberra.edu.au> le 13/10/2003 16:35:50

Veuillez répondre à rpj@callisto.canberra.edu.au
                                                           
                                                           
                                                           
 Pour  Herve PIAT/Faiveley                                 
 :                                                         
                                                           
 cc :  pthreads-win32@sources.redhat.com                   
                                                           
                                                           
                                                           
 Objet Re: PThread-win32 : Message Queue                   
 :                                                         
                                                           








Hi,

The mqueue.zip stuff is provided as a separate contributed item and
isn't necessarily kept in sync with the library.

Also please note that the message queue implimentation is limited by the
fact that pthreads-win32 doesn't support process-shared mutexes or CVs,
which the code relies on. So it only works (assuming no other problems)
within a single process.

Ross

h.piat@faiveley.com wrote:

>
>Hi all
>
>I just donwload mqueue.zip and want to test it.
>But I have this result :
>
>In file included from tester.c:2:
>mqueue.h:24: warning: redefinition of `pid_t'
>
>e:/Dev-Cpp/include/sys/types.h:90: warning: `pid_t' previously declared here
>
>mqueue.h:62: parse error before "HANDLE"
>
>mqueue.h:62: warning: no semicolon at end of struct or union
>
>mqueue.h:67: parse error before '}' token
>
>make.exe: *** [tester.o] Error 1
>
>I'm under Win2K, with DevC++ and use the gcc compiler.
>I sucessful used PThread with my own program, and I dont know what's wrong with
>this mqueue distribution.
>Perhaps I forgot a define variable somewere !
>
>
>Thanks for your help
>
>Hervé PIAT
>Faiveley Transport
>Electronics engineering department
>
>
>
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>Faiveley is pleased to announce that its new website is on line at
>http://www.faiveley.com.
>Faiveley est heureux de vous annoncer la mise en ligne de son nouveau site
>http://www.faiveley.fr
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>NOTE : Ce courrier électronique est destiné exclusivement au(x) destinataire(s)
>mentionné(s) ci-dessus et peut contenir des informations privilégiées,
>confidentielles et/ou non soumises à divulgation aux termes des lois
>applicables.  Si vous avez reçu ce message par erreur, ou s'il ne vous est pas
>destiné, veuillez le signaler immédiatement à l'expéditeur et effacer ce
>courrier électronique.
>
>NOTE: This e-mail message is intended only for the named recipient(s) above and
>may contain information that is privileged, confidential and/or exempt from
>disclosure under applicable law.  If you have received this message in error,
or
>are not the named recipient(s), please immediately notify the sender and delete
>this e-mail message.
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>
>




TD Securities does not accept any liability or losses either direct or consequential
caused by the use of this information. This communication is for informational
purposes only and is not intended as an offer or solicitation
for the purchase or sale of any financial instrument or as an
official confirmation of any transaction.  TD Securities is 
neither making any investment recommendation nor providing any
professional or advisory services relating to the activities
described herein. All market prices, data and other information
are not warranted as to completeness or accuracy and are subject
to change without notice. The information contained herein is provided
for your exclusive benefit and use. The information shall not be further distributed 
or duplicated in whole or in part by any means without the prior
written consent of TD Securities. Any statements made herein do not
necessarily reflect those of TD Securities or its affiliates.
TD Securities is a trademark of the Toronto-Dominion Bank and
represents TD Securities (USA) Inc. and certain investment
banking activities of the Toronto-Dominion Bank and its subsidiaries.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Réf. : Re: PThread-win32 : Message Queue
@ 2003-10-13 14:42 h.piat
  0 siblings, 0 replies; 2+ messages in thread
From: h.piat @ 2003-10-13 14:42 UTC (permalink / raw)
  To: pthreads-win32




Yes you are in the right. I only want to add this contrib file inside my
project.
My project add directly Pthread lib "libpthreadGC.a", and it works fine.

But I'm unable to compile "mqueue.c". Do you have an idea ?








Ross Johnson <rpj@callisto.canberra.edu.au> le 13/10/2003 16:35:50

Veuillez répondre à rpj@callisto.canberra.edu.au
                                                           
                                                           
                                                           
 Pour  Herve PIAT/Faiveley                                 
 :                                                         
                                                           
 cc :  pthreads-win32@sources.redhat.com                   
                                                           
                                                           
                                                           
 Objet Re: PThread-win32 : Message Queue                   
 :                                                         
                                                           








Hi,

The mqueue.zip stuff is provided as a separate contributed item and
isn't necessarily kept in sync with the library.

Also please note that the message queue implimentation is limited by the
fact that pthreads-win32 doesn't support process-shared mutexes or CVs,
which the code relies on. So it only works (assuming no other problems)
within a single process.

Ross

h.piat@faiveley.com wrote:

>
>Hi all
>
>I just donwload mqueue.zip and want to test it.
>But I have this result :
>
>In file included from tester.c:2:
>mqueue.h:24: warning: redefinition of `pid_t'
>
>e:/Dev-Cpp/include/sys/types.h:90: warning: `pid_t' previously declared here
>
>mqueue.h:62: parse error before "HANDLE"
>
>mqueue.h:62: warning: no semicolon at end of struct or union
>
>mqueue.h:67: parse error before '}' token
>
>make.exe: *** [tester.o] Error 1
>
>I'm under Win2K, with DevC++ and use the gcc compiler.
>I sucessful used PThread with my own program, and I dont know what's wrong with
>this mqueue distribution.
>Perhaps I forgot a define variable somewere !
>
>
>Thanks for your help
>
>Hervé PIAT
>Faiveley Transport
>Electronics engineering department
>
>
>
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>Faiveley is pleased to announce that its new website is on line at
>http://www.faiveley.com.
>Faiveley est heureux de vous annoncer la mise en ligne de son nouveau site
>http://www.faiveley.fr
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>NOTE : Ce courrier électronique est destiné exclusivement au(x) destinataire(s)
>mentionné(s) ci-dessus et peut contenir des informations privilégiées,
>confidentielles et/ou non soumises à divulgation aux termes des lois
>applicables.  Si vous avez reçu ce message par erreur, ou s'il ne vous est pas
>destiné, veuillez le signaler immédiatement à l'expéditeur et effacer ce
>courrier électronique.
>
>NOTE: This e-mail message is intended only for the named recipient(s) above and
>may contain information that is privileged, confidential and/or exempt from
>disclosure under applicable law.  If you have received this message in error,
or
>are not the named recipient(s), please immediately notify the sender and delete
>this e-mail message.
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>
>
>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-15 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15 21:50 Réf. : Re: PThread-win32 : Message Queue Medina Sr, Aurelio
  -- strict thread matches above, loose matches on Subject: below --
2003-10-13 14:42 h.piat

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).