Slow GUI response when reading /dev/js0
- From: Simon Werner <rgbe yahoo com>
- To: gtk-list gnome org
- Subject: Slow GUI response when reading /dev/js0
- Date: Tue, 5 Dec 2000 22:04:21 -0800 (PST)
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?
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
] [Thread Prev