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,971aa11c293c3db1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-25 13:33:14 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!151.189.0.75!newsfeed.germany.net!newsfeed2.easynews.net!easynews.net!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Ada The Best Language? Date: Wed, 25 Jul 2001 22:39:09 +0200 Organization: Enyo's not your organization Message-ID: <878zhcpwuq.fsf@deneb.enyo.de> References: <5be89e2f.0107170838.c71ad61@posting.google.com> <5be89e2f.0107180235.726d46a8@posting.google.com> <3B55B01A.DAC06D79@icn.siemens.de> <5be89e2f.0107181248.73298c57@posting.google.com> <9j949b$1ujp$1@norfair.nerim.net> <9cV57.54954$WS4.8386096@news6-win.server.ntlworld.com> <9j98pv$20vi$1@norfair.nerim.net> <3B586C51.53C17E25@home.com> <87vgkiav81.fsf@deneb.enyo.de> <3B5EE961.CDAB6A61@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:10572 Date: 2001-07-25T22:39:09+02:00 List-Id: "Warren W. Gay VE3WWG" writes: >> OTOH, I havent seen a proper thick binding for select() and poll() >> (using protected objects, so that you can use Ada select to wait for >> events). With a thin binding, SUSv2 select() and Ada select do not mix >> at all. > > I think you'll find that poll(2) can be interfaced to from Ada without > much trouble. If you call poll(), your task blocks. This is not always desirable; for example, sometimes you want to respond to entry calls even if you're waiting on some file descriptor.