Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • 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
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Reactor
  • ExecutableMemory.cpp
Find file
BlameHistoryPermalink
  • Ben Clayton's avatar
    Make memoryPageSize() functions thread-safe. · ab983012
    Ben Clayton authored Apr 15, 2020
    These used a static for caching the computation, but didn't use a
    static initializer. This meant there was a race between the check
    for zero and the assignment.
    
    Bug: b/153803432
    Change-Id: Id5b91050ced0b8d4811eb32ffed24885816ade7a
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43909Tested-by: 's avatarBen Clayton <bclayton@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    ab983012
ExecutableMemory.cpp 8.82 KB
EditWeb IDE
×

Replace ExecutableMemory.cpp

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.