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
b89c5361
Commit
b89c5361
authored
Jul 20, 2023
by
Shaun Ren
Committed by
Alexandre Julliard
Jul 21, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sapi: Return wait status in async_wait_queue_empty.
parent
ee8c8f65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
async.c
dlls/sapi/async.c
+3
-3
sapi_private.h
dlls/sapi/sapi_private.h
+1
-1
No files found.
dlls/sapi/async.c
View file @
b89c5361
...
...
@@ -171,8 +171,8 @@ HRESULT async_queue_task(struct async_queue *queue, struct async_task *task)
return
S_OK
;
}
void
async_wait_queue_empty
(
struct
async_queue
*
queue
,
DWORD
timeout
)
HRESULT
async_wait_queue_empty
(
struct
async_queue
*
queue
,
DWORD
timeout
)
{
if
(
!
queue
->
init
)
return
;
WaitForSingleObject
(
queue
->
empty
,
timeout
);
if
(
!
queue
->
init
)
return
WAIT_OBJECT_0
;
return
WaitForSingleObject
(
queue
->
empty
,
timeout
);
}
dlls/sapi/sapi_private.h
View file @
b89c5361
...
...
@@ -42,7 +42,7 @@ HRESULT async_start_queue(struct async_queue *queue);
void
async_empty_queue
(
struct
async_queue
*
queue
);
void
async_cancel_queue
(
struct
async_queue
*
queue
);
HRESULT
async_queue_task
(
struct
async_queue
*
queue
,
struct
async_task
*
task
);
void
async_wait_queue_empty
(
struct
async_queue
*
queue
,
DWORD
timeout
);
HRESULT
async_wait_queue_empty
(
struct
async_queue
*
queue
,
DWORD
timeout
);
HRESULT
data_key_create
(
IUnknown
*
outer
,
REFIID
iid
,
void
**
obj
);
HRESULT
file_stream_create
(
IUnknown
*
outer
,
REFIID
iid
,
void
**
obj
);
...
...
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