Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
C
criu
  • 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
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • zhul
  • criu
  • Repository

Switch branch/tag
  • criu
  • ..
  • asm
  • atomic.h
Find file
BlameHistoryPermalink
  • Andrei Vagin's avatar
    zdtm/atomic: atomic_inc should return the old value · 7fdbfba4
    Andrei Vagin authored Apr 27, 2016
    00:24:30.269:    44: ERR: test.c:208: Test exited on unexpected signal
    
    It's a correct name for this function. For example, we use this name
    here criu/arch/ppc64/include/asm/atomic.h
    
    And you can find the same set of functions here:
    test/zdtm/lib/arch/aarch64/include/asm/atomic.h
    
    I think this code is more readable (understandable) than just
    return t - 1.
    Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    7fdbfba4
atomic.h 1.6 KB
EditWeb IDE

Replace atomic.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.