[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    A problem of application based on X lib
From:       ydroneaud () mandriva ! com (Yann Droneaud)
Date:       2009-04-24 10:48:43
Message-ID: 1240570123.22491.36.camel () localhost
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic