comp.lang.ada
 help / color / mirror / Atom feed
* Ravenscar and run-time program parameters
@ 2007-08-29  7:48 Maciej Sobczak
  2007-08-29  8:41 ` Jean-Pierre Rosen
  2007-08-29  9:02 ` Dmitry A. Kazakov
  0 siblings, 2 replies; 11+ messages in thread
From: Maciej Sobczak @ 2007-08-29  7:48 UTC (permalink / raw)


As I understand, the Ravenscar profile forbids dynamically created
tasks - all tasks have to be created at the library level.

Consider a system where a (sub)set of tasks forms a task pool.
Depending on the actual deployment, it might make sense to influence
the size of this pool - in other words to influence the number of
tasks that are started within the system.

One obvious way to pass the requested number of tasks is to use
program parameters.

I don't see how this can be implemented within the constraint that all
tasks have to be created at the library level.

On the other hand, having a pool of tasks is often associated with the
pattern where the set of tasks wait on a *single* job queue (or
something conceptually equivalent) - and Max_Entry_Queue_Length=>1
would make such scenario more difficult to implement. I can still
imagine the set of tasks having their own queues, though.

How to parameterize the number of tasks in the Ravenscar-compliant
system?

--
Maciej Sobczak
http://www.msobczak.com/




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-09-03  9:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-29  7:48 Ravenscar and run-time program parameters Maciej Sobczak
2007-08-29  8:41 ` Jean-Pierre Rosen
2007-08-29 16:17   ` Jeffrey R. Carter
2007-08-30  6:52     ` Maciej Sobczak
2007-08-31  2:01       ` Jeffrey R. Carter
2007-08-31  9:01         ` Xavier Nicollin
2007-09-03  9:29           ` Maciej Sobczak
2007-08-30  9:49     ` Colin Paul Gloster
2007-08-31  1:29       ` Jeffrey R. Carter
2007-08-29  9:02 ` Dmitry A. Kazakov
2007-08-29 10:23   ` brodax

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