comp.lang.ada
 help / color / mirror / Atom feed
* [task] i need some reference...
@ 2004-10-21 10:12 mferracini
  2004-10-21 10:37 ` Martin Dowie
  0 siblings, 1 reply; 2+ messages in thread
From: mferracini @ 2004-10-21 10:12 UTC (permalink / raw)


i'm start to work on Ada task.

i need exemple of schedulers.
my idea is to write a simple task_manager with a array of 3 or 4
elements where write the order of task activation and meanage the task
(run,suspend,stop,terminate) in a "transparent" way for the task.
thanks




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

* Re: [task] i need some reference...
  2004-10-21 10:12 [task] i need some reference mferracini
@ 2004-10-21 10:37 ` Martin Dowie
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Dowie @ 2004-10-21 10:37 UTC (permalink / raw)


mferracini wrote:
> i'm start to work on Ada task.
>
> i need exemple of schedulers.
> my idea is to write a simple task_manager with a array of 3 or 4
> elements where write the order of task activation and meanage the task
> (run,suspend,stop,terminate) in a "transparent" way for the task.
> thanks

Hmmm, Ada already provides a built-in 'task manager' - are you looking to
try and time how long eack task has executed for? If so then you can wait
for Ada2005 to provide package "Ada.Execution_Time" or you'll have to write
your own until then.

-- Martin






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

end of thread, other threads:[~2004-10-21 10:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-21 10:12 [task] i need some reference mferracini
2004-10-21 10:37 ` Martin Dowie

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