Results 1 to 1 of 1
Hi to everyone,
I'm having trouble trying to meet the requirements of my lab class in Operating Systems, so I turned here for help. We're in the Linux kernel, and ...
- 08-16-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 2
Get mouse position
Hi to everyone,
I'm having trouble trying to meet the requirements of my lab class in Operating Systems, so I turned here for help. We're in the Linux kernel, and programming in kernel space. we were instructed to create threads that share a single resource: buffers that contain the current position of the mouse pointer. I have no trouble creating the threads and using spinlocks to lock them when they are working in the critical space.. i just can't figure out how to read the mouse pointer position for the buffers. I read some sources on the net involving the use of getch, getmouse, etc. but I seem to have trouble using them.
Any help would be greatly appreciated. Thanks.


Reply With Quote
