Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a11de67b
Commit
a11de67b
authored
May 22, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
May 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed EVENT_WaitNetEvent() calls.
parent
5cd47378
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
dinput.c
windows/dinput.c
+5
-1
message.c
windows/message.c
+0
-13
No files found.
windows/dinput.c
View file @
a11de67b
...
@@ -429,7 +429,11 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceData(
...
@@ -429,7 +429,11 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceData(
TRACE
(
dinput
,
"(this=%p,%ld,%p,%p(%ld)),0x%08lx)
\n
"
,
TRACE
(
dinput
,
"(this=%p,%ld,%p,%p(%ld)),0x%08lx)
\n
"
,
This
,
dodsize
,
dod
,
entries
,
entries
?*
entries
:
0
,
flags
);
This
,
dodsize
,
dod
,
entries
,
entries
?*
entries
:
0
,
flags
);
EVENT_WaitNetEvent
(
FALSE
,
TRUE
);
/* FIXME !!! */
EVENT_Synchronize
(
FALSE
);
if
(
entries
)
if
(
entries
)
xentries
=
*
entries
;
xentries
=
*
entries
;
else
else
...
...
windows/message.c
View file @
a11de67b
...
@@ -571,17 +571,6 @@ static BOOL MSG_PeekHardwareMsg( MSG *msg, HWND hwnd, DWORD first, DWORD last,
...
@@ -571,17 +571,6 @@ static BOOL MSG_PeekHardwareMsg( MSG *msg, HWND hwnd, DWORD first, DWORD last,
EnterCriticalSection
(
&
sysMsgQueue
->
cSection
);
EnterCriticalSection
(
&
sysMsgQueue
->
cSection
);
/* If the queue is empty, attempt to fill it */
if
(
!
sysMsgQueue
->
msgCount
&&
THREAD_IsWin16
(
THREAD_Current
()
)
&&
EVENT_Pending
())
{
LeaveCriticalSection
(
&
sysMsgQueue
->
cSection
);
EVENT_WaitNetEvent
(
FALSE
,
TRUE
);
EnterCriticalSection
(
&
sysMsgQueue
->
cSection
);
}
/* Loop through the Q and translate the message we wish to process
/* Loop through the Q and translate the message we wish to process
* while we own the lock. Based on the translation status (abandon/cont/accept)
* while we own the lock. Based on the translation status (abandon/cont/accept)
* we then process the message accordingly
* we then process the message accordingly
...
@@ -1946,8 +1935,6 @@ DWORD WINAPI MsgWaitForMultipleObjects( DWORD nCount, HANDLE *pHandles,
...
@@ -1946,8 +1935,6 @@ DWORD WINAPI MsgWaitForMultipleObjects( DWORD nCount, HANDLE *pHandles,
handles
[
i
]
=
pHandles
[
i
];
handles
[
i
]
=
pHandles
[
i
];
handles
[
nCount
]
=
msgQueue
->
hEvent
;
handles
[
nCount
]
=
msgQueue
->
hEvent
;
EVENT_Pending
();
ret
=
WaitForMultipleObjects
(
nCount
+
1
,
handles
,
fWaitAll
,
dwMilliseconds
);
ret
=
WaitForMultipleObjects
(
nCount
+
1
,
handles
,
fWaitAll
,
dwMilliseconds
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment