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=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GTK and tasking (GNAT) Date: Sun, 04 May 2014 19:29:03 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="6c8e46900abaabd1a3b7c03d9ac850ff"; logging-data="12957"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198KSbEUIsm5e0MTGoJid/0jivhOIZmBiw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:WwFyQ/mZSFZCDOG/QLiMxtBir7Y= sha1:GRLS8R+5g75PDIi1b6b8C8FUuw0= X-Original-Bytes: 1630 Xref: number.nntp.dca.giganews.com comp.lang.ada:186210 Date: 2014-05-04T19:29:03+01:00 List-Id: hreba writes: > On 05/03/2014 06:23 PM, Simon Wright wrote: >> Questions: is Gtk thread-safe? is Queue_Draw something that should only >> be called from the Gtk event queue? >> > > I didn't expect that my first excursion into GUI programming (GTK) > with Ada would confront me with tasking and lead me into the cliffs of > thread-safety. It's the same with X11, Tcl/Tk, and probably other such systems. At least X11 came (comes?) with thread support if you need it. > I am no software engineer, unfortunately I cannot answer these > questions. > > So I will have a look at Dimitry's library. A good plan!