Slow GUI response when reading /dev/js0

I'm using the /dev/js0 device to create a small app
with a few GtkAdjustment scales. I have put the
joystick read() function in a pthread with a
continuous loop. However this makes the GUI
non-responsive, I can open menus but little or nothing
will display. I have set the nice() value to 20 to
ease things a little with the joystick thread.

What am I doing wrong here?
Simon Werner

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]