Message-ID: <530F0A90.4090605@xenomai.org> Date: Thu, 27 Feb 2014 10:51:12 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <530F08DC.3040902@sigmatek.at> In-Reply-To: <530F08DC.3040902@sigmatek.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] priority inheritance question List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: johann.obermayr@sigmatek.at, "xenomai@xenomai.org" On 02/27/2014 10:43 AM, Johann Obermayr wrote: > Hello, > > have 2 tasks > task1 with prio 10 > task2 with prio 20 > > task1 acquire a mutex > now task2 will acquire the same mutex > > than task1 get higher priority. > > But what gets priority task1? > 20 or 21 ? > 20. -- Philippe.