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
e040e2c1
Commit
e040e2c1
authored
Mar 15, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp110: Add _Mtx_reset_owner implementation.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
90c0807a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
5 deletions
+12
-5
msvcp110.spec
dlls/msvcp110/msvcp110.spec
+1
-1
msvcp120.spec
dlls/msvcp120/msvcp120.spec
+1
-1
msvcp120_app.spec
dlls/msvcp120_app/msvcp120_app.spec
+1
-1
msvcp140.spec
dlls/msvcp140/msvcp140.spec
+1
-1
misc.c
dlls/msvcp90/misc.c
+7
-0
msvcp_win.spec
dlls/msvcp_win/msvcp_win.spec
+1
-1
No files found.
dlls/msvcp110/msvcp110.spec
View file @
e040e2c1
...
@@ -3823,7 +3823,7 @@
...
@@ -3823,7 +3823,7 @@
@ cdecl _Mtx_getconcrtcs(ptr)
@ cdecl _Mtx_getconcrtcs(ptr)
@ cdecl _Mtx_init(ptr long)
@ cdecl _Mtx_init(ptr long)
@ cdecl _Mtx_lock(ptr)
@ cdecl _Mtx_lock(ptr)
@
stub _Mtx_reset_owner
@
cdecl _Mtx_reset_owner(ptr)
@ stub _Mtx_timedlock
@ stub _Mtx_timedlock
@ cdecl _Mtx_trylock(ptr)
@ cdecl _Mtx_trylock(ptr)
@ cdecl _Mtx_unlock(ptr)
@ cdecl _Mtx_unlock(ptr)
...
...
dlls/msvcp120/msvcp120.spec
View file @
e040e2c1
...
@@ -3768,7 +3768,7 @@
...
@@ -3768,7 +3768,7 @@
@ cdecl _Mtx_getconcrtcs(ptr)
@ cdecl _Mtx_getconcrtcs(ptr)
@ cdecl _Mtx_init(ptr long)
@ cdecl _Mtx_init(ptr long)
@ cdecl _Mtx_lock(ptr)
@ cdecl _Mtx_lock(ptr)
@
stub _Mtx_reset_owner
@
cdecl _Mtx_reset_owner(ptr)
@ stub _Mtx_timedlock
@ stub _Mtx_timedlock
@ cdecl _Mtx_trylock(ptr)
@ cdecl _Mtx_trylock(ptr)
@ cdecl _Mtx_unlock(ptr)
@ cdecl _Mtx_unlock(ptr)
...
...
dlls/msvcp120_app/msvcp120_app.spec
View file @
e040e2c1
...
@@ -3768,7 +3768,7 @@
...
@@ -3768,7 +3768,7 @@
@ cdecl _Mtx_getconcrtcs(ptr) msvcp120._Mtx_getconcrtcs
@ cdecl _Mtx_getconcrtcs(ptr) msvcp120._Mtx_getconcrtcs
@ cdecl _Mtx_init(ptr long) msvcp120._Mtx_init
@ cdecl _Mtx_init(ptr long) msvcp120._Mtx_init
@ cdecl _Mtx_lock(ptr) msvcp120._Mtx_lock
@ cdecl _Mtx_lock(ptr) msvcp120._Mtx_lock
@
stub
_Mtx_reset_owner
@
cdecl _Mtx_reset_owner(ptr) msvcp120.
_Mtx_reset_owner
@ stub _Mtx_timedlock
@ stub _Mtx_timedlock
@ cdecl _Mtx_trylock(ptr) msvcp120._Mtx_trylock
@ cdecl _Mtx_trylock(ptr) msvcp120._Mtx_trylock
@ cdecl _Mtx_unlock(ptr) msvcp120._Mtx_unlock
@ cdecl _Mtx_unlock(ptr) msvcp120._Mtx_unlock
...
...
dlls/msvcp140/msvcp140.spec
View file @
e040e2c1
...
@@ -3680,7 +3680,7 @@
...
@@ -3680,7 +3680,7 @@
@ cdecl _Mtx_init(ptr long)
@ cdecl _Mtx_init(ptr long)
@ cdecl _Mtx_init_in_situ(ptr long)
@ cdecl _Mtx_init_in_situ(ptr long)
@ cdecl _Mtx_lock(ptr)
@ cdecl _Mtx_lock(ptr)
@
stub _Mtx_reset_owner
@
cdecl _Mtx_reset_owner(ptr)
@ stub _Mtx_timedlock
@ stub _Mtx_timedlock
@ cdecl _Mtx_trylock(ptr)
@ cdecl _Mtx_trylock(ptr)
@ cdecl _Mtx_unlock(ptr)
@ cdecl _Mtx_unlock(ptr)
...
...
dlls/msvcp90/misc.c
View file @
e040e2c1
...
@@ -814,6 +814,13 @@ void __cdecl _Mtx_clear_owner(_Mtx_arg_t mtx)
...
@@ -814,6 +814,13 @@ void __cdecl _Mtx_clear_owner(_Mtx_arg_t mtx)
m
->
count
--
;
m
->
count
--
;
}
}
void
__cdecl
_Mtx_reset_owner
(
_Mtx_arg_t
mtx
)
{
_Mtx_t
m
=
MTX_T_FROM_ARG
(
mtx
);
m
->
thread_id
=
GetCurrentThreadId
();
m
->
count
++
;
}
static
inline
LONG
interlocked_dec_if_nonzero
(
LONG
*
dest
)
static
inline
LONG
interlocked_dec_if_nonzero
(
LONG
*
dest
)
{
{
LONG
val
,
tmp
;
LONG
val
,
tmp
;
...
...
dlls/msvcp_win/msvcp_win.spec
View file @
e040e2c1
...
@@ -3680,7 +3680,7 @@
...
@@ -3680,7 +3680,7 @@
@ cdecl _Mtx_init(ptr long) msvcp140._Mtx_init
@ cdecl _Mtx_init(ptr long) msvcp140._Mtx_init
@ cdecl _Mtx_init_in_situ(ptr long) msvcp140._Mtx_init_in_situ
@ cdecl _Mtx_init_in_situ(ptr long) msvcp140._Mtx_init_in_situ
@ cdecl _Mtx_lock(ptr) msvcp140._Mtx_lock
@ cdecl _Mtx_lock(ptr) msvcp140._Mtx_lock
@
stub
_Mtx_reset_owner
@
cdecl _Mtx_reset_owner(ptr) msvcp140.
_Mtx_reset_owner
@ stub _Mtx_timedlock
@ stub _Mtx_timedlock
@ cdecl _Mtx_trylock(ptr) msvcp140._Mtx_trylock
@ cdecl _Mtx_trylock(ptr) msvcp140._Mtx_trylock
@ cdecl _Mtx_unlock(ptr) msvcp140._Mtx_unlock
@ cdecl _Mtx_unlock(ptr) msvcp140._Mtx_unlock
...
...
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