From: Maciej Sobczak <see.my.homepage@gmail.com>
Subject: Ravenscar and run-time program parameters
Date: Wed, 29 Aug 2007 00:48:23 -0700
Date: 2007-08-29T00:48:23-07:00 [thread overview]
Message-ID: <1188373703.936484.105650@w3g2000hsg.googlegroups.com> (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/
next reply other threads:[~2007-08-29 7:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-29 7:48 Maciej Sobczak [this message]
2007-08-29 8:41 ` Ravenscar and run-time program parameters 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox