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
8d9c4817
Commit
8d9c4817
authored
Jan 23, 2018
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp100: Add _Concurrent_queue_base_v4 constructor implementation.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0771b2e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
misc.c
dlls/msvcp90/misc.c
+18
-2
No files found.
dlls/msvcp90/misc.c
View file @
8d9c4817
...
...
@@ -1234,6 +1234,8 @@ typedef struct
MSVCP_size_t
item_size
;
}
_Concurrent_queue_base_v4
;
extern
const
vtable_ptr
MSVCP__Concurrent_queue_base_v4_vtable
;
/* ?_Internal_throw_exception@_Concurrent_queue_base_v4@details@Concurrency@@IBEXXZ */
/* ?_Internal_throw_exception@_Concurrent_queue_base_v4@details@Concurrency@@IEBAXXZ */
DEFINE_THISCALL_WRAPPER
(
_Concurrent_queue_base_v4__Internal_throw_exception
,
4
)
...
...
@@ -1250,8 +1252,22 @@ DEFINE_THISCALL_WRAPPER(_Concurrent_queue_base_v4_ctor, 8)
_Concurrent_queue_base_v4
*
__thiscall
_Concurrent_queue_base_v4_ctor
(
_Concurrent_queue_base_v4
*
this
,
MSVCP_size_t
size
)
{
FIXME
(
"(%p %ld) stub
\n
"
,
this
,
size
);
return
NULL
;
TRACE
(
"(%p %ld)
\n
"
,
this
,
size
);
this
->
data
=
MSVCRT_operator_new
(
sizeof
(
*
this
->
data
));
memset
(
this
->
data
,
0
,
sizeof
(
*
this
->
data
));
this
->
vtable
=
&
MSVCP__Concurrent_queue_base_v4_vtable
;
this
->
item_size
=
size
;
/* alloc_count needs to be power of 2 */
this
->
alloc_count
=
size
<=
8
?
32
:
size
<=
16
?
16
:
size
<=
32
?
8
:
size
<=
64
?
4
:
size
<=
128
?
2
:
1
;
return
this
;
}
/* ??1_Concurrent_queue_base_v4@details@Concurrency@@MAE@XZ */
...
...
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