From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27940 invoked by alias); 5 Jun 2002 11:25:56 -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 27932 invoked from network); 5 Jun 2002 11:25:53 -0000 Received: from unknown (HELO firewall.infonova.at) (195.3.81.41) by sources.redhat.com with SMTP; 5 Jun 2002 11:25:53 -0000 Received: from GRZVEX01A.infonova.com ([10.1.253.142]) by firewall.infonova.at (8.9.3/8.9.3) with ESMTP id NAA13068 for ; Wed, 5 Jun 2002 13:25:52 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Semaphores Date: Wed, 05 Jun 2002 04:25:00 -0000 Message-ID: <0ED19AC8C4A13E458B9B865C26DCC5920B5670@GRZVEX01A.techu.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Platzer Wolfgang" To: X-SW-Source: 2002/txt/msg00073.txt.bz2 Hi, here is a link to a code that shows how to use an undocumented Win32 API ca= ll to query the value of a semaphore: http://www.codeguru.com/win32/queryse= m.shtml It works fine for WinNT, Win2000 and WindowsXP! regards, wolfgang