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
ec5edb4f
Commit
ec5edb4f
authored
Jan 29, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal: Implement ExTryToAcquireFastMutex().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3d5b2a0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
hal.c
dlls/hal/hal.c
+4
-3
No files found.
dlls/hal/hal.c
View file @
ec5edb4f
...
...
@@ -81,10 +81,11 @@ void WINAPI DECLSPEC_HIDDEN __regs_ExReleaseFastMutex( FAST_MUTEX *mutex )
}
DEFINE_FASTCALL1_ENTRYPOINT
(
ExTryToAcquireFastMutex
)
BOOLEAN
WINAPI
DECLSPEC_HIDDEN
__regs_ExTryToAcquireFastMutex
(
PFAST_MUTEX
FastMutex
)
BOOLEAN
WINAPI
DECLSPEC_HIDDEN
__regs_ExTryToAcquireFastMutex
(
FAST_MUTEX
*
mutex
)
{
FIXME
(
"(%p) stub
\n
"
,
FastMutex
);
return
TRUE
;
TRACE
(
"mutex %p.
\n
"
,
mutex
);
return
(
InterlockedCompareExchange
(
&
mutex
->
Count
,
0
,
1
)
==
1
);
}
DEFINE_FASTCALL1_ENTRYPOINT
(
KfAcquireSpinLock
)
...
...
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