From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,495146c1572da8eb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: [task] i need some reference... Date: Thu, 21 Oct 2004 11:37:42 +0100 Organization: BAE SYSTEMS Message-ID: <41779005$1_1@baen1673807.greenlnk.net> References: <1098353533.993873.145080@f14g2000cwb.googlegroups.com> X-Trace: news.uni-berlin.de IB4LaLTeg9L98+ojIbHiSA/FP6lPnM7wd4ynngIUAEKuopDb2c X-Orig-Path: baen1673807.greenlnk.net!baen1673807!not-for-mail X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Original-NNTP-Posting-Host: baen1673807.greenlnk.net Xref: g2news1.google.com comp.lang.ada:5570 Date: 2004-10-21T11:37:42+01:00 List-Id: 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