comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <pcc482719@gmail.com>
Subject: Re: Blocking syscalls in Tasks
Date: Sat, 27 Sep 2008 19:14:05 -0400
Date: 2008-09-27T19:14:05-04:00	[thread overview]
Message-ID: <48debe3b$0$26375$4d3efbfe@news.sover.net> (raw)
In-Reply-To: <fed9be94-5dbf-4562-b246-ffc263c300c1@2g2000hsn.googlegroups.com>

schwering wrote:

> My understanding is the same -- or at least I nowhere found something
> else.
> But I wonder about this, because in my opinion there is a great
> difference between tasks = userspace threads and tasks = kernelspace
> threads.

I think the reason this is probably left implementation defined is so
that Ada can be implemented on systems that don't provide kernel threads
to the applications. On such systems, the Ada runtime can implement user
mode threads and still obey the standard.

User mode threads do have some nice properties on their own however...
specifically, fast context switching times. Thus even when kernel
threads are available an implementation might want to provide some
options in this area.

> Hence, I think there should at least be some way to
> check whether in the given implementation of tasks blocking syscalls
> block only the calling task or everything.

One imagines it would be documented some place. At least you would like
to believe that.

Peter



  reply	other threads:[~2008-09-27 23:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-27 17:26 Blocking syscalls in Tasks schwering
2008-09-27 18:40 ` Peter C. Chapin
2008-09-27 20:11   ` schwering
2008-09-27 23:14     ` Peter C. Chapin [this message]
2008-09-27 18:58 ` Hibou57 (Yannick Duchêne)
2008-09-27 20:02   ` schwering
2008-09-27 20:16     ` Ed Falis
2008-09-27 21:54 ` Maciej Sobczak
2008-09-28  7:55   ` sjw
2008-09-28  3:16 ` anon
2008-09-28 17:48   ` tmoran
2008-09-28 23:39     ` anon
2008-09-30  2:35       ` Randy Brukardt
2008-09-30 10:06         ` anon
2008-09-30 11:01           ` Georg Bauhaus
2008-10-01  2:18             ` anon
2008-09-30 18:06           ` Adam Beneschan
2008-09-30 18:10             ` Ludovic Brenta
2008-09-30 20:09               ` Jeffrey R. Carter
2008-10-06 17:12           ` Ada compilers supporting Ada 2005 (was: Blocking syscalls in Tasks) Georg Bauhaus
2008-10-07 11:51             ` Colin Paul Gloster
2008-10-07 14:31               ` Britt Snodgrass
2008-10-07 15:39                 ` Colin Paul Gloster
2008-10-07 16:38                   ` Adam Beneschan
replies disabled

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