A problem of application based on X lib

Yann Droneaud ydroneaud at mandriva.com
Fri Apr 24 03:48:43 PDT 2009


Hi,

Le vendredi 24 avril 2009 à 18:15 +0800, DonDaniel a écrit :
> Hello:
>     I'm a student in Fudan University, China.
>     Recently I met a problem about the program written with X lib:
> 
>     In my program, I design two threads, one is to receive native
> event(Event Receiver), while the other 
> one is to do proper operations according to the events(Event handler).
> 

Did you use XLockDisplay() / XUnlockDisplay()
See http://tronche.com/gui/x/xlib/display/threads.html

Regards

-- 
Yann Droneaud





More information about the xorg mailing list