From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13890 invoked by alias); 16 Oct 2003 06:24:30 -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 13883 invoked from network); 16 Oct 2003 06:24:29 -0000 Received: from unknown (HELO s3.smtp.oleane.net) (195.25.12.10) by sources.redhat.com with SMTP; 16 Oct 2003 06:24:29 -0000 Received: from smtp.faiveley.fr (infy.faiveley.com [194.3.149.152]) by s3.smtp.oleane.net with SMTP id h9G6OQaO027354 for ; Thu, 16 Oct 2003 08:24:27 +0200 Received: by smtp.faiveley.fr(Lotus SMTP MTA v4.6.3 (778.2 1-4-1999)) id C1256DC1.00233D85 ; Thu, 16 Oct 2003 08:24:55 +0200 X-Lotus-FromDomain: FAIVELEY From: h.piat@faiveley.com To: pthreads-win32@sources.redhat.com Message-ID: Date: Thu, 16 Oct 2003 06:24:00 -0000 Subject: =?iso-8859-1?Q?R=E9f._:_RE:_R=E9f._:_Re:_PThread-win32_:_Message_?= =?iso-8859-1?Q?Queue?= Mime-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable X-SW-Source: 2003/txt/msg00100.txt.bz2 I have this information : Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. It can creates native Win32 executables, either console or GUI, as well as DLLs and static libraries. Dev-C++ can al= so be used in combination with Cygwin or any other GCC based compiler. and if I type "gcc - v" in console, I read : Reading spec from ./../lib/gcc-lib/mingw32/3.2/specs Configured with : ../gcc/configure -- with-gcc --with-gnu-ld --with-gnu-as --host=3Dmingw32 --target=3Dwingw32 --prefix=3D/mingw --enable-threads --di= sable-nls --enable-language=3Df77,c++,objc,ada --disable-win32-registry --disable-shared Thread model: win32 gcc version 3.2(mingw special 20020817-1) Is this could help us ? "Medina Sr, Aurelio" le 15/10/2003 23:49:= 13 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 Pour Herve PIAT/Faiveley,=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 : pthreads-win32@sources.redhat.com=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 cc :=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 Objet RE: R=E9f. : Re: PThread-win32 : Message Queue=20=20=20=20=20=20=20= =20 :=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 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=E9f. : 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 le 13/10/2003 16:35:50 Veuillez r=E9pondre =E0 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 he= re > >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=E9 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 =E9lectronique est destin=E9 exclusivement au(x) destin= ataire(s) >mentionn=E9(s) ci-dessus et peut contenir des informations privil=E9gi=E9e= s, >confidentielles et/ou non soumises =E0 divulgation aux termes des lois >applicables. Si vous avez re=E7u ce message par erreur, ou s'il ne vous e= st pas >destin=E9, veuillez le signaler imm=E9diatement =E0 l'exp=E9diteur et effa= cer ce >courrier =E9lectronique. > >NOTE: This e-mail message is intended only for the named recipient(s) abov= e and >may contain information that is privileged, confidential and/or exempt from >disclosure under applicable law. If you have received this message in err= or, or >are not the named recipient(s), please immediately notify the sender and d= elete >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 informatio= nal 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.