Return-Path: Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OdK9s-0003G6-29 for ltp-list@lists.sourceforge.net; Mon, 26 Jul 2010 09:39:40 +0000 Date: Mon, 26 Jul 2010 11:55:17 +0200 From: Cyril Hrubis Message-ID: <20100726095517.GB4609@saboteur.suse.cz> References: <20100722133111.GA30090@saboteur.suse.cz> <20100722181736.GA5936@saboteur.suse.cz> <20100723101338.GB19210@saboteur.suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [LTP] [PATCH] fix pthread_mutex_getprioceiling testcase List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Garrett Cooper Cc: ltp-list@lists.sourceforge.net Hi! > I just now noticed the PTHREAD_PRIO_PROTECT portion of the patch. > The testcase passes now (I can vouch for it passing on FreeBSD), but > none of the POSIX specs I read mention anything about this being a > hard requirement. So something needs to be figured out as far as > whether or not the specs are broken, or this an issue with the > pthreads implementation on both FreeBSD and Linux. Yes, I was unable to find this in the posix too. I consulted our glibc maintainer and all I've got was "it doesn't work without PTHREAD_PRIO_PROTECT". And even free pages from O'Reilly "A POSIX Standart for Better Mutiprocessing" seems to suggest that. I'll try to get that book as it seems to be only source of documentation for realtime threads I know about. Anyway it does make sense to return priority only for mutexes that can be prioritized. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list