From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,7e6aeb948876c62d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-15 09:07:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!68102-cm.able.ES!not-for-mail From: "Nazgul" Newsgroups: comp.lang.ada Subject: Re: Multitasking doesn't work under linux? Date: Fri, 15 Feb 2002 18:07:05 +0100 Message-ID: References: <3c6d3df8@news.cadence.com> NNTP-Posting-Host: 68102-cm.able.es (212.97.168.102) X-Trace: fu-berlin.de 1013792844 827493 212.97.168.102 (16 [107015]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:20048 Date: 2002-02-15T18:07:05+01:00 List-Id: 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" escribi� en el mensaje news:3c6d3df8@news.cadence.com... > "Nazgul" 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