Re: Question on scheduling

2006-02-26 Thread Christian Biere
Manuel Tobias Schiller wrote: > I tried to experiment further by adding an idle thread with minimal > priority to the application which simply usleeps 50 ms (blocking all > other threads as well); this approach made the cpu usage drop to about > 35% to 45%, but this is still way above what ca

Re: Question on scheduling

2006-02-26 Thread Christian Biere
Manuel Tobias Schiller wrote: > Well, blocking all other threads is a bad thing in itself, because I > tend to lose button events when I can't poll them in time (remeber, > button polling is done with ioctls, it's got nothing to do with the > poll() syscall; poll() will only tell when a write