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=0.6 required=5.0 tests=BAYES_40,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8ed3f27ca288a8e7 X-Google-Attributes: gid103376,public From: "Dr. Hubert B. Keller" Subject: Re: why use "task"? Date: 1998/08/17 Message-ID: <35D830BD.ECEC79DA@iai.fzk.de>#1/1 X-Deja-AN: 381936775 Distribution: world Content-Transfer-Encoding: 7bit References: <35C9F862.5942A291@imap4.asu.edu> Content-Type: text/plain; charset=us-ascii Organization: FZK-IAI Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-08-17T00:00:00+00:00 List-Id: Tasking is mostly to model concurrent behavior on a single processor machine. Please keep in mind, that parallel execution on a single processor is only a model that works not always in real. Parallel execution is only done in real on a n processor for n tasks machine. A process doing NOPs for waiting of an other process with lower priority and which is suspended will never be called from this, because the low prio process will never become activ, that means executed. Real examples are process control applications. (Or think about the work of a house wife doing cooking, children watching, accepts telephone calls and welcomes visitors - all the same time. So priorities, dispatching and hard real time contrsints apply. H.K. Te-Cheng, Shen schrieb: > Hi: > What is "task" used for? I know how to use it but dont know when we > will use it? Can anyone give me a " real example?" It means we will use > it > in reality, not just for demostrating. > > Thanks in advance