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