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=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,63585ba5c5be8595 X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: Ada to Motif bindings Date: 2000/04/12 Message-ID: <8d17o9$2u0$1@wanadoo.fr>#1/1 X-Deja-AN: 609994046 References: <38E8E8CE.81EC851F@mitre.org> <38EAC651.1DD94F40@home.com> <8cffvp$q0s$1@nnrp1.deja.com> <38EC2DC6.E17A407B@home.com> <38F17693.F32F2074@home.com> <8ct3pv$cnl$1@nnrp1.deja.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 955523657 3008 193.250.32.67 (12 Apr 2000 07:14:17 GMT) Organization: Adalog X-MSMail-Priority: Normal NNTP-Posting-Date: 12 Apr 2000 07:14:17 GMT Newsgroups: comp.lang.ada Date: 2000-04-12T07:14:17+00:00 List-Id: Simon Wright a �crit dans le message : x7vln2lmatq.fsf@pogner.demon.co.uk... > Ted Dennison writes: > > > As an aside, I have seen X/Motif bindings that made the whole X/Motif > > subsystem task-safe by wrapping a synchronizing task around all the > > calls. This actually *removes* a potential source of errors that C X > > coders have to deal with. :-) > > Or, with X11R6 (OK, your X vendor needs to have built X with threading > support :), use XInitThreads(), XtToolkitThreadInitialize() (but I > don't know what happens with Motif). Or use XinAda from TopGraph'X (http://ourworld.compuserve.com/homepages/topgraphx), which is 100% task safe (and written in Ada). -- --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://pro.wanadoo.fr/adalog