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
0d137ddb
Commit
0d137ddb
authored
Jan 21, 2024
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
Jan 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr100: Add _ReaderWriterLock constructor implementation.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=46074
parent
64009b9c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
14 deletions
+33
-14
concrt140.spec
dlls/concrt140/concrt140.spec
+3
-3
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+3
-3
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+3
-3
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+3
-3
concurrency.c
dlls/msvcrt/concurrency.c
+19
-0
No files found.
dlls/concrt140/concrt140.spec
View file @
0d137ddb
...
...
@@ -33,9 +33,9 @@
@ cdecl -arch=arm ??0_NonReentrantPPLLock@details@Concurrency@@QAA@XZ(ptr) _NonReentrantPPLLock_ctor
@ thiscall -arch=i386 ??0_NonReentrantPPLLock@details@Concurrency@@QAE@XZ(ptr) _NonReentrantPPLLock_ctor
@ cdecl -arch=win64 ??0_NonReentrantPPLLock@details@Concurrency@@QEAA@XZ(ptr) _NonReentrantPPLLock_ctor
@
stub -arch=arm ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ
@
stub -arch=i386 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ
@
stub -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ
@
cdecl -arch=arm ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ(ptr) _ReaderWriterLock_ctor
@
thiscall -arch=i386 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ(ptr) _ReaderWriterLock_ctor
@
cdecl -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ(ptr) _ReaderWriterLock_ctor
@ cdecl -arch=arm ??0_ReentrantBlockingLock@details@Concurrency@@QAA@XZ(ptr) _ReentrantBlockingLock_ctor
@ thiscall -arch=i386 ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ(ptr) _ReentrantBlockingLock_ctor
@ cdecl -arch=win64 ??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ(ptr) _ReentrantBlockingLock_ctor
...
...
dlls/msvcr100/msvcr100.spec
View file @
0d137ddb
...
...
@@ -14,8 +14,8 @@
@ cdecl -arch=win64 ??0_NonReentrantBlockingLock@details@Concurrency@@QEAA@XZ(ptr) _ReentrantBlockingLock_ctor
@ thiscall -arch=win32 ??0_NonReentrantPPLLock@details@Concurrency@@QAE@XZ(ptr) _NonReentrantPPLLock_ctor
@ cdecl -arch=win64 ??0_NonReentrantPPLLock@details@Concurrency@@QEAA@XZ(ptr) _NonReentrantPPLLock_ctor
@
stub -arch=win32 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ
@
stub -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ
@
thiscall -arch=win32 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ(ptr) _ReaderWriterLock_ctor
@
cdecl -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ(ptr) _ReaderWriterLock_ctor
@ thiscall -arch=win32 ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ(ptr) _ReentrantBlockingLock_ctor
@ cdecl -arch=win64 ??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ(ptr) _ReentrantBlockingLock_ctor
@ stub -arch=win32 ??0_ReentrantLock@details@Concurrency@@QAE@XZ
...
...
dlls/msvcr110/msvcr110.spec
View file @
0d137ddb
...
...
@@ -38,9 +38,9 @@
@ cdecl -arch=arm ??0_NonReentrantPPLLock@details@Concurrency@@QAA@XZ(ptr) _NonReentrantPPLLock_ctor
@ thiscall -arch=i386 ??0_NonReentrantPPLLock@details@Concurrency@@QAE@XZ(ptr) _NonReentrantPPLLock_ctor
@ cdecl -arch=win64 ??0_NonReentrantPPLLock@details@Concurrency@@QEAA@XZ(ptr) _NonReentrantPPLLock_ctor
@
stub -arch=arm ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ
@
stub -arch=i386 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ
@
stub -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ
@
cdecl -arch=arm ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ(ptr) _ReaderWriterLock_ctor
@
thiscall -arch=i386 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ(ptr) _ReaderWriterLock_ctor
@
cdecl -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ(ptr) _ReaderWriterLock_ctor
@ cdecl -arch=arm ??0_ReentrantBlockingLock@details@Concurrency@@QAA@XZ(ptr) _ReentrantBlockingLock_ctor
@ thiscall -arch=i386 ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ(ptr) _ReentrantBlockingLock_ctor
@ cdecl -arch=win64 ??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ(ptr) _ReentrantBlockingLock_ctor
...
...
dlls/msvcr120/msvcr120.spec
View file @
0d137ddb
...
...
@@ -35,9 +35,9 @@
@ cdecl -arch=arm ??0_NonReentrantPPLLock@details@Concurrency@@QAA@XZ(ptr) _NonReentrantPPLLock_ctor
@ thiscall -arch=i386 ??0_NonReentrantPPLLock@details@Concurrency@@QAE@XZ(ptr) _NonReentrantPPLLock_ctor
@ cdecl -arch=win64 ??0_NonReentrantPPLLock@details@Concurrency@@QEAA@XZ(ptr) _NonReentrantPPLLock_ctor
@
stub -arch=arm ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ
@
stub -arch=i386 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ
@
stub -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ
@
cdecl -arch=arm ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ(ptr) _ReaderWriterLock_ctor
@
thiscall -arch=i386 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ(ptr) _ReaderWriterLock_ctor
@
cdecl -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ(ptr) _ReaderWriterLock_ctor
@ cdecl -arch=arm ??0_ReentrantBlockingLock@details@Concurrency@@QAA@XZ(ptr) _ReentrantBlockingLock_ctor
@ thiscall -arch=i386 ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ(ptr) _ReentrantBlockingLock_ctor
@ cdecl -arch=win64 ??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ(ptr) _ReentrantBlockingLock_ctor
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
0d137ddb
...
...
@@ -33,9 +33,9 @@
@ cdecl -arch=arm ??0_NonReentrantPPLLock@details@Concurrency@@QAA@XZ(ptr) msvcr120.??0_NonReentrantPPLLock@details@Concurrency@@QAA@XZ
@ thiscall -arch=i386 ??0_NonReentrantPPLLock@details@Concurrency@@QAE@XZ(ptr) msvcr120.??0_NonReentrantPPLLock@details@Concurrency@@QAE@XZ
@ cdecl -arch=win64 ??0_NonReentrantPPLLock@details@Concurrency@@QEAA@XZ(ptr) msvcr120.??0_NonReentrantPPLLock@details@Concurrency@@QEAA@XZ
@
stub -arch=arm
??0_ReaderWriterLock@details@Concurrency@@QAA@XZ
@
stub -arch=i386
??0_ReaderWriterLock@details@Concurrency@@QAE@XZ
@
stub -arch=win64
??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ
@
cdecl -arch=arm ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ(ptr) msvcr120.
??0_ReaderWriterLock@details@Concurrency@@QAA@XZ
@
thiscall -arch=i386 ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ(ptr) msvcr120.
??0_ReaderWriterLock@details@Concurrency@@QAE@XZ
@
cdecl -arch=win64 ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ(ptr) msvcr120.
??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ
@ cdecl -arch=arm ??0_ReentrantBlockingLock@details@Concurrency@@QAA@XZ(ptr) msvcr120.??0_ReentrantBlockingLock@details@Concurrency@@QAA@XZ
@ thiscall -arch=i386 ??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ(ptr) msvcr120.??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ
@ cdecl -arch=win64 ??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ(ptr) msvcr120.??0_ReentrantBlockingLock@details@Concurrency@@QEAA@XZ
...
...
dlls/msvcrt/concurrency.c
View file @
0d137ddb
...
...
@@ -295,6 +295,12 @@ typedef struct
}
wait
;
}
_ReentrantPPLLock__Scoped_lock
;
typedef
struct
{
LONG
state
;
LONG
count
;
}
_ReaderWriterLock
;
#define EVT_RUNNING (void*)1
#define EVT_WAITING NULL
...
...
@@ -3562,6 +3568,19 @@ bool __thiscall _ReentrantBlockingLock__TryAcquire(_ReentrantBlockingLock *this)
return
TryEnterCriticalSection
(
&
this
->
cs
);
}
/* ??0_ReaderWriterLock@details@Concurrency@@QAA@XZ */
/* ??0_ReaderWriterLock@details@Concurrency@@QAE@XZ */
/* ??0_ReaderWriterLock@details@Concurrency@@QEAA@XZ */
DEFINE_THISCALL_WRAPPER
(
_ReaderWriterLock_ctor
,
4
)
_ReaderWriterLock
*
__thiscall
_ReaderWriterLock_ctor
(
_ReaderWriterLock
*
this
)
{
TRACE
(
"(%p)
\n
"
,
this
);
this
->
state
=
0
;
this
->
count
=
0
;
return
this
;
}
/* ?wait@Concurrency@@YAXI@Z */
void
__cdecl
Concurrency_wait
(
unsigned
int
time
)
{
...
...
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