dinput[2/3]: Move critical section to the base device class.

Vitaliy Margolen wine-patches at kievinfo.com
Fri Dec 1 11:56:00 CST 2006


Change Log:
  dinput: Move critical section to the base device class.
  dinput: Initialize and delete critical section in joystick.

It seems that joystick doesn't use critical section at all.
This is not good, but I don't want to add it here, to remove it
in my other patches, because I will be moving lots of event buffer
handling functions to base device class.

---
 dlls/dinput/device.c              |   18 ++++++++++++++----
 dlls/dinput/device_private.h      |    1 +
 dlls/dinput/joystick_linux.c      |   15 +++++++--------
 dlls/dinput/joystick_linuxinput.c |    3 +++
 dlls/dinput/keyboard.c            |   17 ++++++++---------
 dlls/dinput/mouse.c               |   21 ++++++++++-----------
 6 files changed, 43 insertions(+), 32 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d920898479c9d2eb03bcfac129940923794d514a.diff
Type: text/x-patch
Size: 12170 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061201/cce1393f/d920898479c9d2eb03bcfac129940923794d514a.bin


More information about the wine-patches mailing list