From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20588 invoked by alias); 27 May 2007 07:30:48 -0000 Received: (qmail 20578 invoked by uid 22791); 27 May 2007 07:30:45 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Sun, 27 May 2007 07:30:44 +0000 Received: (qmail invoked by alias); 27 May 2007 07:30:41 -0000 Received: from p54B32A46.dip0.t-ipconnect.de (EHLO DellWS) [84.179.42.70] by mail.gmx.net (mp045) with SMTP; 27 May 2007 09:30:41 +0200 X-Authenticated: #21318204 Date: Sun, 27 May 2007 09:07:00 -0000 From: Michael Bieber Reply-To: gmx Message-ID: <893096451.20070527093039@gmx.net> To: pthreads-win32@sourceware.org Subject: Re: Accessing Windows thread id In-Reply-To: <46584240.7060108@homemail.com.au> References: <1522450048.20070526151035@gmx.net> <46584240.7060108@homemail.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2007/txt/msg00028.txt.bz2 RJ> I'll add another function to the library to return this nicely - called, RJ> say, pthread_getw32threadid_np(). Hallo Ross, I was able to circumvent my particular problem, but the new function should be helpful for some other cases too. Thank you, Micha p.s. The library did a great job during a Linux->Windows port of 100 kLOC, saving a *lot* of time here. Additionally, it is very helpful in maintaining a common source tree for both OS variants of our software. Keep up the good work and thank you again!