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
4fd4a8ae
Commit
4fd4a8ae
authored
Aug 24, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Added basic_streambuf<char>::{Lock, Unlock} implementation.
parent
f357f4a5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
ios.c
dlls/msvcp90/ios.c
+7
-2
msvcp90.h
dlls/msvcp90/msvcp90.h
+5
-0
No files found.
dlls/msvcp90/ios.c
View file @
4fd4a8ae
...
...
@@ -923,6 +923,7 @@ basic_streambuf_char* __thiscall basic_streambuf_char_ctor_uninitialized(basic_s
{
TRACE
(
"(%p %d)
\n
"
,
this
,
uninitialized
);
this
->
vtable
=
&
MSVCP_basic_streambuf_char_vtable
;
mutex_ctor
(
&
this
->
lock
);
return
this
;
}
...
...
@@ -934,6 +935,7 @@ basic_streambuf_char* __thiscall basic_streambuf_char_ctor(basic_streambuf_char
TRACE
(
"(%p)
\n
"
,
this
);
this
->
vtable
=
&
MSVCP_basic_streambuf_char_vtable
;
mutex_ctor
(
&
this
->
lock
);
this
->
loc
=
MSVCRT_operator_new
(
sizeof
(
locale
));
locale_ctor
(
this
->
loc
);
basic_streambuf_char__Init_empty
(
this
);
...
...
@@ -948,6 +950,7 @@ void __thiscall basic_streambuf_char_dtor(basic_streambuf_char *this)
{
TRACE
(
"(%p)
\n
"
,
this
);
mutex_dtor
(
&
this
->
lock
);
locale_dtor
(
this
->
loc
);
MSVCRT_operator_delete
(
this
->
loc
);
}
...
...
@@ -1051,7 +1054,8 @@ void __thiscall basic_streambuf_char__Init_empty(basic_streambuf_char *this)
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char__Lock
,
4
)
void
__thiscall
basic_streambuf_char__Lock
(
basic_streambuf_char
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
TRACE
(
"(%p)
\n
"
,
this
);
mutex_lock
(
&
this
->
lock
);
}
/* ?_Pnavail@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IBEHXZ */
...
...
@@ -1087,7 +1091,8 @@ streamsize __thiscall basic_streambuf_char__Sgetn_s(basic_streambuf_char *this,
DEFINE_THISCALL_WRAPPER
(
basic_streambuf_char__Unlock
,
4
)
void
__thiscall
basic_streambuf_char__Unlock
(
basic_streambuf_char
*
this
)
{
FIXME
(
"(%p) stub
\n
"
,
this
);
TRACE
(
"(%p)
\n
"
,
this
);
mutex_unlock
(
&
this
->
lock
);
}
/* ?_Xsgetn_s@?$basic_streambuf@DU?$char_traits@D@std@@@std@@MAEHPADIH@Z */
...
...
dlls/msvcp90/msvcp90.h
View file @
4fd4a8ae
...
...
@@ -218,3 +218,8 @@ void __thiscall _Lockit_dtor(_Lockit*);
typedef
struct
{
void
*
mutex
;
}
mutex
;
mutex
*
__thiscall
mutex_ctor
(
mutex
*
);
void
__thiscall
mutex_dtor
(
mutex
*
);
void
__thiscall
mutex_lock
(
mutex
*
);
void
__thiscall
mutex_unlock
(
mutex
*
);
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