comp.lang.ada
 help / color / mirror / Atom feed
From: "Nazgul" <darkelf@aim.homelinux.com>
Subject: Re: Multitasking doesn't work under linux?
Date: Fri, 15 Feb 2002 18:07:05 +0100
Date: 2002-02-15T18:07:05+01:00	[thread overview]
Message-ID: <a4jf8a$p835$1@ID-107015.news.dfncis.de> (raw)
In-Reply-To: 3c6d3df8@news.cadence.com

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]

Thanks very much, I was using FSU threads, and the Election task blocked all
the other tasks on a blocking call by listening in a socket. I'm trying the
native-threads system.

"Jean-Marc Bourguet" <jm@bourguet.org> escribi� en el mensaje
news:3c6d3df8@news.cadence.com...
> "Nazgul" <darkelf@aim.homelinux.com> writes:
>
> > Hi, I have a program in Ada, it's a server that listens for connections
on a
> > specified port, and when a connection is estabilished, it creates a new
task
> > to attend that conneciont.
>
> I assume your runtime is using the FSU threads and not the native
> threads.  Using the FSU has the advantage of been fully conformant,
> but at the price that blocking a task did block all of them.  Native
> threads  where not conformant in some more or less corner cases, but
> when a task block, the other could run.
>
> I think that with 3.14, the native thread runtime is fully
> conformant as it had become the default.
>
> You can change the runtime by changing some links. See the
> installation instruction.
>
> Yours,
>
> --
> Jean-Marc





  reply	other threads:[~2002-02-15 17:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-15 16:48 Multitasking doesn't work under linux? Nazgul
2002-02-15 16:57 ` Jean-Marc Bourguet
2002-02-15 17:07   ` Nazgul [this message]
2002-02-15 18:28     ` Marc A. Criley
2002-02-16 14:33       ` Robert Dewar
2002-02-16 14:31   ` Robert Dewar
replies disabled

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