mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-02 12:17:46 +08:00
modify inputeventsource,read event in thread
This commit is contained in:
parent
193a78a0ae
commit
4553ebb9ca
@ -109,7 +109,7 @@ int InputEventSource::handleEvents(){
|
||||
}
|
||||
|
||||
int InputEventSource::process(){
|
||||
LOGD_IF(mRawEvents.size(),"%p recv %d events ",this,mRawEvents.size());
|
||||
LOGV_IF(mRawEvents.size(),"%p recv %d events ",this,mRawEvents.size());
|
||||
while(mRawEvents.size()){
|
||||
const INPUTEVENT e=mRawEvents.front();
|
||||
struct timeval tv={e.tv_sec,e.tv_usec};
|
||||
|
Loading…
Reference in New Issue
Block a user