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,eb16c447b2139225 X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: Rational APEX Ada95 w/ X11R6 Date: 1999/06/16 Message-ID: #1/1 X-Deja-AN: 490141218 X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 References: <929466176.893.35@news.remarQ.com> X-Trace: news.demon.co.uk 929512881 nnrp-11:8762 NO-IDENT pogner.demon.co.uk:158.152.70.98 Organization: At Home Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 1999-06-16T00:00:00+00:00 List-Id: "Brian Kelly" writes: > Has anyone programmed using Rational's Ada95 compiler and X11R6? > > If so, have you come up w/ any concurrency issues/problems? No, but we have used GNAT and VADS (SunSoft Ada). You will likely find that your out-of-the-box X11R6 hasn't been built with thread awareness; see XInitThreads(3), XtToolkitThreadInitialize(3). In that case, you must make sure that each of your Displays is only accessed by one task. I don't think it would be safe to provide your own serialization, since your widgets are relying on X events being dispatched to them and the X events (eg Button1Down) are not under your control. NB, you can have more than one Display connection to the same server ..