From: lemchens@lemmies.lb.bawue.de (arvids lemchens)
Subject: Re: Multitasking
Date: 09 Dec 2002 10:57:00 +0100
Date: 2002-12-09T10:57:00+01:00 [thread overview]
Message-ID: <8bW1jK0+ACB@lemmies.lb.bawue.de> (raw)
In-Reply-To: mailman.1039269662.25846.comp.lang.ada@ada.eu.org
Hello Micha,
vinnie@inetia.pl am 07.12.02 um 15:10 in comp.lang.ada:
>> Now i am wondering why the maintask is waiting for the completion of
>> S and T and not going independent of them on?
> Entry is a synchronization mechanism. That means that it is used to
> synchronize two tasks with each other. The caller (in your code the
> main task) will not return until the entry is finished.
Ok, know i am understanding.
>> Am i missing something fundamental about ada-tasks?
> It looks that you do (don't take this as offence :-))
I know, but now it's better. ... i hope so
>> If yes, what and how do i get them running independent?
> You did it. But what do you want to achieve with your code?
I was thinking about a monitoring application, where the
monitored items would be monitored by different tasks and
the main task only runs in a loop, triggering the tasks
and getting the results. So i stumbled on this issue.
Seems to be a better approach, to split the triggering/
monitoring and the resultholding in two different tasks.
MvfG,
Arvids
next prev parent reply other threads:[~2002-12-09 9:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-07 12:16 Multitasking arvids lemchens
2002-12-07 14:09 ` Multitasking SteveD
2002-12-09 7:43 ` Multitasking arvids lemchens
2002-12-07 14:10 ` Multitasking Michal Nowak
2002-12-09 9:57 ` arvids lemchens [this message]
2002-12-09 22:27 ` Multitasking Michal Nowak
2002-12-07 21:33 ` Multitasking Dennis Lee Bieber
2002-12-08 0:17 ` Multitasking Dennis Lee Bieber
2002-12-09 9:54 ` Multitasking arvids lemchens
2002-12-09 20:48 ` Multitasking Dennis Lee Bieber
2002-12-11 12:45 ` Multitasking John English
2002-12-11 19:34 ` Multitasking Dennis Lee Bieber
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox