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
  • Main
  • SwiftConfig.hpp
Find file
BlameHistoryPermalink
  • Jorge E. Moreira's avatar
    Modified MutexLock to use a pthread mutex on Android. · f8faed6d
    Jorge E. Moreira authored Dec 02, 2016
    The BackoffLock spins idle for a while when waiting for a locked mutex
    before yielding the core, thus wasting many CPU cycles. Modern pthread
    implementations have low overhead mutexes which make the thread sleep
    if the lock is already held, and efficiently resume them it becomes
    available.
    
    Change-Id: I26b64c86db620739671373fd0d82085744d34fa8
    Reviewed-on: https://swiftshader-review.googlesource.com/8648Reviewed-by: 's avatarNicolas Capens <capn@google.com>
    Tested-by: 's avatarNicolas Capens <capn@google.com>
    f8faed6d
SwiftConfig.hpp 2.68 KB
EditWeb IDE
×

Replace SwiftConfig.hpp

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.