I am porting a plug-in from the Win32 environment to Linux. It is a graphical animation plug-in. I am having a hard time finding an answer to the following question:
The plug-in receives the necessary information to display itself (Display, Screen, Window) during its activation phase. Throughout its lifetime it computes the animation parameters in a separate thread. When the display doesn't reflect the animation parameters anymore, the plug-in must update its display. This update should happen in the same thread, which has created the display window. In Win32 this was done by posting a message to the animation window. The desired side-effect is that the message is processed in the thread, which has created the window. Is there a way to accomplish the same thing: Issue a "message" (is it a signal in X11 parlance?) to a queue, and have this message be processed in the "main" thread? I would greatly appreciate feedback on how to do this. Thank you in advance, Walter J. Mack ------------------------------------------- Walter J. Mack President, Component Software, Inc. Contact information e-mail: [EMAIL PROTECTED] phone: +1 480 496 9303
BEGIN:VCARD VERSION:2.1 N:Mack;Walter;Jakob;Mr. FN:Walter Jakob Mack ORG:Component Software, Inc. TITLE:President TEL;WORK;VOICE:+1 480 496 9303 TEL;WORK;FAX:+1 480 699 2133 TEL;HOME;FAX:699 2133 ADR;WORK:;;POB 51592;Phoenix;AZ;85076;U.S.A. LABEL;WORK;ENCODING=QUOTED-PRINTABLE:POB 51592=0D=0APhoenix, AZ 85076=0D=0AU.S.A. URL: URL:http://www.componentsw.com EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20000330T020006Z END:VCARD
