comp.lang.ada
 help / color / mirror / Atom feed
* Tasking Models
@ 2000-04-18  0:00 Marin D. Condic
  2000-04-19  0:00 ` Gisle S�lensminde
  2000-04-22  0:00 ` Marin D. Condic
  0 siblings, 2 replies; 8+ messages in thread
From: Marin D. Condic @ 2000-04-18  0:00 UTC (permalink / raw)


I'm working with the Sparc compiler v2.1.1 under Solaris and I can't
seem to find out much about the tasking model. The documentation
indicates that time slicing can be turned on, but I don't know that this
is the case. What I'm wondering about are the conditions under which the
runtime will decide that a task is blocked and allow another task to
run. Specifically if an I/O call or a TCP/IP call will result in a
blocked task and allow another to run. Does anybody know anything about
the tasking model for this compiler? (it is Ada83)

In the past, when I've cared to find out about it, Ada compilers I've
run under various operating systems do not block on an I/O or other
sorts of OS calls. I know this is legal behavior. I don't know of any
reason why it would be *illegal* for the RTK to consider a task blocked
on an OS call. This would be desirable behavior under lots of
conditions, but it also raises questions about the task safety of the OS
calls being made. If this particular RTK blocks, then one has to wonder
about the thread safety of TCP/IP and file I/O calls under this
particular OS. Anybody know if Solaris makes these things thread safe? A
lot of that probably depends on how they mapped the tasks onto the OS.

What documentation I can find so far is pretty pithy on the subject of
the tasking model (and other things as well :-) If somebody is familiar
with this compiler and can point me in a direction, I'd appreciate it.

MDC
-- 
======================================================================
Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/
Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m
Visit my web site at:  http://www.mcondic.com/

"I'd trade it all for just a little more"
    --  Charles Montgomery Burns, [4F10]
======================================================================




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2000-04-22  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-18  0:00 Tasking Models Marin D. Condic
2000-04-19  0:00 ` Gisle S�lensminde
2000-04-19  0:00   ` Marin D. Condic
2000-04-20  0:00     ` Simon Wright
2000-04-22  0:00       ` Marin D. Condic
2000-04-22  0:00 ` Marin D. Condic
2000-04-22  0:00   ` tmoran
2000-04-22  0:00     ` Marin D. Condic

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