[CRIU] [PATCH cr 1/4] crtools: add a separate type for atomic variables

Andrey Vagin avagin at openvz.org
Mon Sep 10 16:11:09 EDT 2012


It's a struct to prevent using usual arithmetic operations.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/atomic.h |   13 +++++++++----
 include/lock.h   |   24 ++++++++++++------------
 include/types.h  |    1 -
 3 files changed, 21 insertions(+), 17 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-crtools-add-a-separate-type-for-atomic-variables.patch
Type: text/x-patch
Size: 4296 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120911/ff9f96e0/0001-crtools-add-a-separate-type-for-atomic-variables.bin


More information about the CRIU mailing list