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
8b226cb9
Commit
8b226cb9
authored
Aug 22, 2005
by
Phil Krylov
Committed by
Alexandre Julliard
Aug 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed InterLocked* function definitions for non-x86 platforms in
accordance with the recent corresponding change of their declarations in winbase.h.
parent
6fe04f2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sync.c
dlls/kernel/sync.c
+5
-5
No files found.
dlls/kernel/sync.c
View file @
8b226cb9
...
...
@@ -1897,7 +1897,7 @@ __ASM_GLOBAL_FUNC(InterlockedDecrement,
* NOTES
* dest is updated only if it is equal to compare, otherwise no swap is done.
*/
LONG
WINAPI
InterlockedCompareExchange
(
PLONG
dest
,
LONG
xchg
,
LONG
compare
)
LONG
WINAPI
InterlockedCompareExchange
(
LONG
volatile
*
dest
,
LONG
xchg
,
LONG
compare
)
{
return
interlocked_cmpxchg
(
dest
,
xchg
,
compare
);
}
...
...
@@ -1914,7 +1914,7 @@ LONG WINAPI InterlockedCompareExchange( PLONG dest, LONG xchg, LONG compare )
* RETURNS
* The resulting value of dest.
*/
LONG
WINAPI
InterlockedExchange
(
PLONG
dest
,
LONG
val
)
LONG
WINAPI
InterlockedExchange
(
LONG
volatile
*
dest
,
LONG
val
)
{
return
interlocked_xchg
(
dest
,
val
);
}
...
...
@@ -1931,7 +1931,7 @@ LONG WINAPI InterlockedExchange( PLONG dest, LONG val )
* RETURNS
* The resulting value of dest.
*/
LONG
WINAPI
InterlockedExchangeAdd
(
PLONG
dest
,
LONG
incr
)
LONG
WINAPI
InterlockedExchangeAdd
(
LONG
volatile
*
dest
,
LONG
incr
)
{
return
interlocked_xchg_add
(
dest
,
incr
);
}
...
...
@@ -1947,7 +1947,7 @@ LONG WINAPI InterlockedExchangeAdd( PLONG dest, LONG incr )
* RETURNS
* The resulting value of dest.
*/
LONG
WINAPI
InterlockedIncrement
(
PLONG
dest
)
LONG
WINAPI
InterlockedIncrement
(
LONG
volatile
*
dest
)
{
return
interlocked_xchg_add
(
dest
,
1
)
+
1
;
}
...
...
@@ -1963,7 +1963,7 @@ LONG WINAPI InterlockedIncrement( PLONG dest )
* RETURNS
* The resulting value of dest.
*/
LONG
WINAPI
InterlockedDecrement
(
PLONG
dest
)
LONG
WINAPI
InterlockedDecrement
(
LONG
volatile
*
dest
)
{
return
interlocked_xchg_add
(
dest
,
-
1
)
-
1
;
}
...
...
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