Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: GUIX - setting up events and handlers

$
0
0
Hello Jim, Just looking at the source, it seems like your thread is stuck waiting for a touch message (TX_WAIT_FOREVER) every time you want to update your display. The best option in this case would be creating a separate thread for managing sensor readings. Alternatively, you can set a finite timeout for g_sf_message- pend() and check its return value: you'll only handle touch events if it returns SSP_SUCCESS (i.e. if(!err){touch handling}). Regards

Viewing all articles
Browse latest Browse all 59170

Trending Articles