I would like to ask the same question in a different way. Is there a DXL call that does a test equivalent to DXLSync but does not block? I will explain in more detail. I do not understand how DX uses events and I do not understand how Qt uses events. I do not have the time to do a deep study of these things. Moreover, the use of X11 events in Qt would be "hidden" deep in the code because Qt is intended to be used in various operating systems, including those that do not use X-windows. Despite all that I do understand, it seems reasonable to assume that X11 events are only seen in the main thread. The documentation of Qt gives me that impression and the code in dx-4.2.0/src/uipp/dxl gives me the impression that X11 events are fundamental to the synchronization. So a first step in constructing a solution would be to move all DXL calls that use events explicitly or implicitly (as in DXLSync) into the main thread. But another given in this construction is that I should not call blocking functions such as DXLSync(). On the other hand, I could call a non-block test to see if an event arrived, called every second using a timer. So then the question becomes the following. I use DXLSync to see if DX has enough "free time" to respond, to see that it is not heavily occupied in running the network of modules. Is there another test that would be non-blocking to see if DX is ready? Thanks in advance for your help, Alan Scheinine Email: [EMAIL PROTECTED]
