From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14608 invoked by alias); 13 Oct 2003 14:35:41 -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 14601 invoked from network); 13 Oct 2003 14:35:40 -0000 Received: from unknown (HELO real.ise.canberra.edu.au) (137.92.140.34) by sources.redhat.com with SMTP; 13 Oct 2003 14:35:40 -0000 Received: from callisto.canberra.edu.au (special.ise.canberra.edu.au [137.92.140.39]) by real.ise.canberra.edu.au (8.11.6/8.11.6) with ESMTP id h9DEZWi08641; Tue, 14 Oct 2003 00:35:32 +1000 Message-ID: <3F8AB846.4060202@callisto.canberra.edu.au> Date: Mon, 13 Oct 2003 14:35:00 -0000 From: Ross Johnson Reply-To: rpj@callisto.canberra.edu.au User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: h.piat@faiveley.com CC: pthreads-win32@sources.redhat.com Subject: Re: PThread-win32 : Message Queue References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2003/txt/msg00094.txt.bz2 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. >* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > >