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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,63360011f8addace X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-16 08:19:03 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!151.189.0.75!newsfeed.arcor-online.net!news.belwue.de!news.uni-stuttgart.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: gnat: time-slicing Date: Tue, 16 Jul 2002 17:18:40 +0200 Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <871ya3g0q7.fsf@CERT.Uni-Stuttgart.DE> References: NNTP-Posting-Host: login.cert.uni-stuttgart.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.uni-stuttgart.de 1026832720 13873 129.69.16.19 (16 Jul 2002 15:18:40 GMT) X-Complaints-To: news@news.uni-stuttgart.de NNTP-Posting-Date: Tue, 16 Jul 2002 15:18:40 +0000 (UTC) User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:5jcfGdJnTU20Z4sqHcMEtx/ZyiA= Xref: archiver1.google.com comp.lang.ada:27151 Date: 2002-07-16T17:18:40+02:00 List-Id: lutz@iks-jena.de (Lutz Donnerhacke) writes: > First you need a OS able to perform a task switch while performing > system IO. Most multitasking OS do not do this. While performing a > system call, this call can not interrupted by normal tasking. Threading libraries (maybe except GNU Pth) for such systems usually change all I/O system calls (in fact, section 2 libc routines) into non-blocking callls, so that they can schedule during I/O.