From: Ole-Hjalmar Kristensen <oleh@vlinux.voxelvision.no>
Subject: Re: rendez-vous underlying mechanism
Date: Thu, 11 Apr 2002 11:52:35 GMT
Date: 2002-04-11T11:52:35+00:00 [thread overview]
Message-ID: <7vr8lmiha5.fsf@vlinux.voxelvision.no> (raw)
In-Reply-To: Gy_s8.77570$ZS5.2974941320@newssvr30.news.prodigy.com
"Pat Rogers" <progers@classwide.com> writes:
> "Kevin Cline" <kcline17@hotmail.com> wrote in message
> news:ba162549.0204100919.7cfc14dc@posting.google.com...
> > "Pat Rogers" <progers@classwide.com> wrote in message
> news:<HgXs8.1415$L95.632339599@newssvr11.news.prodigy.com>...
> <snip>
> > > > I was certainly surprised
> > > > when I attempted to create a separate task for I/O but found that
> > > > all tasks blocked anyway because they were mapped to a single Unix thread.
> > > > On that implementation Ada multi-tasking was uselsss for solving
> > > > problems routinely handled with Posix threads.
> > >
> > > Agreed; an undesirable implementation if the option of mapping tasks to
> Pthreads
> > > was not available, but that's my point -- that was a given implementation
> that I
> > > don't believe is not the norm today.
> >
> > It doesn't matter much whether it's the norm. If the language standard
> > doesn't guarantee any useful semantics then programs that use the
> > Ada tasking model for the aforementioned purpose are not portable
> > across compilers.
>
> If you expect a language standard -- any language standard -- to specify such a
> mapping to an operating system implementation you will remain "surprised".
Agreed, but it would be reasonable to see a language standard specify
that blocking a task would not block the entire program. It's a pity
it's not covered in the Ada standard.
next prev parent reply other threads:[~2002-04-11 11:52 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-25 13:48 rendez-vous underlying mechanism Bozo
2002-03-25 20:09 ` Marin David Condic
2002-03-26 1:44 ` Adrian Hoe
2002-03-26 1:16 ` Jeffrey Creem
2002-03-26 2:05 ` Adrian Hoe
2002-03-26 2:16 ` Jeffrey Creem
2002-03-26 6:04 ` Simon Wright
2002-03-26 10:17 ` Adrian Hoe
2002-03-26 9:31 ` tgingold
2002-03-26 10:40 ` David C. Hoos, Sr.
2002-03-27 1:42 ` Adrian Hoe
[not found] ` <a8olf7$enj$3@nntp9.atl.mindspring.net>
2002-04-07 6:44 ` Pascal Obry
2002-04-08 7:48 ` Jean-Pierre Rosen
2002-03-26 10:58 ` Bozo
2002-03-26 14:10 ` Marin David Condic
2002-03-26 14:57 ` Kevin Cline
2002-03-28 5:20 ` Richard Riehle
2002-03-28 15:44 ` Marin David Condic
2002-04-08 17:05 ` Kevin Cline
2002-04-10 7:49 ` Ole-Hjalmar Kristensen
2002-04-10 13:39 ` Pat Rogers
2002-04-10 17:19 ` Kevin Cline
2002-04-10 17:23 ` Pat Rogers
2002-04-11 11:52 ` Ole-Hjalmar Kristensen [this message]
2002-04-11 16:01 ` Darren New
2002-04-10 17:58 ` Marin David Condic
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox