Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c71dca83
Commit
c71dca83
authored
Mar 28, 2023
by
Torge Matthies
Committed by
Alexandre Julliard
Mar 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr100: Use enum for _StructuredTaskCollection return value.
Signed-off-by:
Torge Matthies
<
tmatthies@codeweavers.com
>
parent
fc2fa4fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
concurrency.c
dlls/msvcrt/concurrency.c
+8
-2
No files found.
dlls/msvcrt/concurrency.c
View file @
c71dca83
...
...
@@ -180,6 +180,12 @@ typedef struct
void
*
event
;
}
_StructuredTaskCollection
;
typedef
enum
{
TASK_COLLECTION_SUCCESS
=
1
,
TASK_COLLECTION_CANCELLED
}
_TaskCollectionStatus
;
typedef
struct
_UnrealizedChore
{
const
vtable_ptr
*
vtable
;
...
...
@@ -2161,7 +2167,7 @@ static void CALLBACK exception_ptr_rethrow_finally(BOOL normal, void *data)
/* ?_RunAndWait@_StructuredTaskCollection@details@Concurrency@@QAA?AW4_TaskCollectionStatus@23@PAV_UnrealizedChore@23@@Z */
/* ?_RunAndWait@_StructuredTaskCollection@details@Concurrency@@QAG?AW4_TaskCollectionStatus@23@PAV_UnrealizedChore@23@@Z */
/* ?_RunAndWait@_StructuredTaskCollection@details@Concurrency@@QEAA?AW4_TaskCollectionStatus@23@PEAV_UnrealizedChore@23@@Z */
/*_TaskCollectionStatus*/
int
__stdcall
_StructuredTaskCollection__RunAndWait
(
_TaskCollectionStatus
__stdcall
_StructuredTaskCollection__RunAndWait
(
_StructuredTaskCollection
*
this
,
_UnrealizedChore
*
chore
)
{
LONG
expected
,
val
;
...
...
@@ -2202,7 +2208,7 @@ static void CALLBACK exception_ptr_rethrow_finally(BOOL normal, void *data)
}
__FINALLY_CTX
(
exception_ptr_rethrow_finally
,
ep
)
}
return
1
;
return
TASK_COLLECTION_SUCCESS
;
}
/* ?_Cancel@_StructuredTaskCollection@details@Concurrency@@QAAXXZ */
...
...
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