Re: XInitThreads in library constructor breaks Motif!

2022-10-30 Thread Keith Packard
Po Lu writes: > Besides, how to move it forward? If it works, wouldn't the obvious > solution be to install the change? If all that is needed is for > someone to try it out, I'd be happy to do it, but I'm pretty sure the > better solution is just to remove the call to XInitThreads in the > first

Re: XInitThreads in library constructor breaks Motif!

2022-10-30 Thread Po Lu
On October 31, 2022 7:08:50 AM GMT+08:00, Alan Coopersmith wrote: >On 10/29/22 19:00, Po Lu wrote: >> Motif assumes that you can call functions that lock the display inside >> XCheckIfEvent as it never calls XInitThreads itself. It also never uses >> threads. > >It was never up to Motif to

Re: XInitThreads in library constructor breaks Motif!

2022-10-30 Thread Alan Coopersmith
On 10/29/22 19:00, Po Lu wrote: Motif assumes that you can call functions that lock the display inside XCheckIfEvent as it never calls XInitThreads itself. It also never uses threads. It was never up to Motif to decide whether or not to call XInitThreads() - that decision was up to the