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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,63585ba5c5be8595 X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: Ada to Motif bindings Date: 2000/04/11 Message-ID: #1/1 X-Deja-AN: 609969534 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 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-Trace: news.demon.co.uk 955517396 nnrp-10:20413 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 2000-04-11T00:00:00+00:00 List-Id: 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).