From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23401 invoked by alias); 27 Feb 2011 00:39:55 -0000 Received: (qmail 23393 invoked by uid 22791); 27 Feb 2011 00:39:54 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from flexo.grapevine.net.au (HELO flexo.grapevine.net.au) (203.129.32.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Feb 2011 00:39:45 +0000 Received: from localhost (localhost [127.0.0.1]) by flexo.grapevine.net.au (Postfix) with ESMTP id D64625E8453; Sun, 27 Feb 2011 11:39:41 +1100 (EST) Received: from flexo.grapevine.net.au ([127.0.0.1]) by localhost (flexo.grapevine.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MOtidR6xhF9V; Sun, 27 Feb 2011 11:39:41 +1100 (EST) Received: from [192.168.2.2] (ppp-44-41.grapevine.net.au [203.129.44.41]) (Authenticated sender: Ross.Johnson@homemail.com.au) by flexo.grapevine.net.au (Postfix) with ESMTPA id 918825E816A; Sun, 27 Feb 2011 11:39:41 +1100 (EST) Message-ID: <4D699D4C.7070508@homemail.com.au> Date: Sun, 27 Feb 2011 00:39:00 -0000 From: Ross Johnson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Mark Pizzolato - pthreads - win32 CC: pthreads-win32@sourceware.org Subject: Re: Win32 pthread bugs References: <78FD0775812F9E429FF9F5E1AA158DBE409623@redroof.alohasunset.com> In-Reply-To: <78FD0775812F9E429FF9F5E1AA158DBE409623@redroof.alohasunset.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2011/txt/msg00010.txt.bz2 On 1/01/2011 5:47 AM, Mark Pizzolato - pthreads - win32 wrote: > The code in sched_setscheduler() and sched_getscheduler() each leaks a > handle which is opened, never used and then left open. > > These should probably be fixed. > > - Mark Pizzolato > This is now fixed in CVS. It affects calls where the argument PID is not the current PID, in which case the code tries to determine if PID is valid only. Thanks.