comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.acm.not.org>
Subject: Re: Gnat Scheduling Question
Date: Mon, 15 Jan 2007 23:49:20 GMT
Date: 2007-01-15T23:49:20+00:00	[thread overview]
Message-ID: <4qUqh.1143561$084.982029@attbi_s22> (raw)
In-Reply-To: <mailman.12.1168113384.18371.comp.lang.ada@ada-france.org>

  jpluto wrote:
> 
> For example, if I want a high priority task to block, even though it 
> does NOT use a shared data object, but  if another lower priority task 
> on the "same" cpu is running and is using a shared data object that 
> another task on another CPU needs, then how can I block that high 
> priority task and tell it to yield the cpu to that lower task unitl that 
> lower task finish using that shared data object?

If they're on the same CPU, then using a ceiling priority higher than 
that of the high-priority task should do it.



      parent reply	other threads:[~2007-01-15 23:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-06 19:42 Gnat Scheduling Question   jpluto
2007-01-07 14:20 ` Stephen Leake
2007-01-15 23:49 ` Jeffrey Carter [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox