Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
ea18d30c
Commit
ea18d30c
authored
Apr 15, 2010
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atomic_ptr fix of Win64
parent
7668e797
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
zmq.h
include/zmq.h
+1
-1
atomic_ptr.hpp
src/atomic_ptr.hpp
+1
-1
No files found.
include/zmq.h
View file @
ea18d30c
...
...
@@ -40,7 +40,7 @@ extern "C" {
#endif
/******************************************************************************/
/* 0MQ versioning supprt. */
/* 0MQ versioning supp
o
rt. */
/******************************************************************************/
ZMQ_EXPORT
void
zmq_version
(
int
*
major
,
int
*
minor
,
int
*
patch
);
...
...
src/atomic_ptr.hpp
View file @
ea18d30c
...
...
@@ -78,7 +78,7 @@ namespace zmq
inline
T
*
xchg
(
T
*
val_
)
{
#if defined ZMQ_ATOMIC_PTR_WINDOWS
return
(
T
*
)
InterlockedExchangePointer
(
&
ptr
,
val_
);
return
(
T
*
)
InterlockedExchangePointer
(
(
PVOID
*
)
&
ptr
,
val_
);
#elif defined ZMQ_ATOMIC_PTR_SYSTEM
return
(
T
*
)
atomic_swap_ptr
(
&
ptr
,
val_
);
#elif defined ZMQ_ATOMIC_PTR_X86
...
...
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