[omniORB] wxWidgets app hangs when corba call trys to load a new frame

Jason Dolan jason at pcc.com
Mon Mar 7 08:55:23 GMT 2005


Thanks, I recieved pretty much the same response from the wxwidgets 
list.  I think you right, a sort of message cache or signal is the trick.

-Jason

Harri Pasanen wrote:

>On Friday 04 March 2005 16:45, Jason Dolan wrote:
>  
>
>>Are there any
>>issues creating/loading a frame outside of the main GUI thread?
>>    
>>
>
>Looks like wxWidgets issue to me.  I general, it is not advisible to 
>have GUI code elsewhere than the main thread.
>
>http://www.wxwidgets.org/manuals/2.4.2/wx428.htm says among other 
>things:
>
>"""Note that under GTK, no creation of top-level windows is allowed in 
>any thread but the main one.
>
> This function is only defined on platforms which support preemptive 
>threads."""
>
>So I suggest you use a queue+timer or some such to transfer the 
>drawing info to the main thread from OmniORB thread. Implementation 
>left as an exercise for the reader ;-).
>
>-Harri
>
>
>This message, including any attachments, is intended only for the person(s) to whom it is addressed. If you received it in error, please let us know and delete the message from your system. This message may be confidential and may fall under the duty of non-disclosure. Any use by others than the intended addressee is prohibited. Trema shall not be liable for any damage related to the electronic transmission of this message, such as failure or delay of its delivery, interception or manipulation by third parties, or transmission of viruses or other malicious code.
>  
>




More information about the omniORB-list mailing list