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,ac39a12d5faf5b14 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-24 01:55:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!esplande3000.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Wish List : Ada95 to FOX Date: Wed, 24 Apr 2002 10:47:41 +0200 Organization: Adalog Message-ID: References: <3CB46975.90408@snafu.de> <5ee5b646.0204121930.64733eeb@posting.google.com> <5wTt8.15598$C21.3515342@news6-win.server.ntlworld.com> <5ee5b646.0204130620.114953ae@posting.google.com> <4519e058.0204180615.150e4bef@posting.google.com> <357f0f4aab2ac8ef39234c96f0ab6311.48257@mygate.mailgate.org> <3CC5997E.4 <3CC5F5B0.DBC6A6B8@boeing.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1019638304 17224 195.25.228.57 (24 Apr 2002 08:51:44 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 24 Apr 2002 08:51:44 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:23039 Date: 2002-04-24T10:47:41+02:00 List-Id: "Jeffrey Carter" a �crit dans le message news: 3CC5F5B0.DBC6A6B8@boeing.com... > "Warren W. Gay VE3WWG" wrote: > > > > One area that has traditionally been a sore point in Ada and GUIs is > > the client_data parameter in callbacks. Gtk kind of hacks around this, > > but I'd like to see a more perfect (Ada95) solution to this problem. > > I consider callbacks themselves a sore point. Callbacks are a hack to > handle the inherent concurrency of a windowing system in a sequential > language such as C. The natural approach is to associate a concurrent > blocking queue of events with each window; the application has a task > per window obtaining events from this queue and deciding what to do with > them. > The issue of call-backs (and more generally of the listener paradigm) will be addressed in a paper that I present at the Ada-Europe/Vienna conference. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr