Re: [PATCH 1/3] x11drv: Move cached cursor position from under x11's lock and into it's own.
15 Oct
2006
15 Oct
'06
2:51 p.m.
Vitaliy Margolen wrote:
dlls/winex11.drv/mouse.c | 43 +++++++++++++++++++++++++++++++++----------
...
POINT cursor_pos;
+static CRITICAL_SECTION cursor_CritSection;
There's a reference to cursor_pos in dlls/winex11.drv/keyboard.c too, and you're missing a critical section around it. Mike
16 Oct
16 Oct
4:48 a.m.
New subject: [PATCH 1/3] x11drv: Move cached cursor position from under x11's lock and into it's own.
Mike McCormack wrote:
Vitaliy Margolen wrote:
POINT cursor_pos;
+static CRITICAL_SECTION cursor_CritSection;
There's a reference to cursor_pos in dlls/winex11.drv/keyboard.c too, and you're missing a critical section around it.
Oh thank you. I think it will need a temp variable there. It's inside server call which is a critical section too. And trying to enter two crit_sections is not a good idea AFAIK. Vitaliy
7000
Age (days ago)
7001
Last active (days ago)
1 comments
2 participants
participants (2)
-
Mike McCormack -
Vitaliy Margolen