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
  • Common
  • Thread.cpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Guard against threads joining twice. · 3fbe73e7
    Nicolas Capens authored Feb 02, 2017
    After a pthread_join() call the handle becomes invalid or could be
    recycled by another thread, leading to undefined behavior when
    attempting to join it again. Also, on Windows the handle has to be
    closed to free it.
    
    Bug b/34883464
    
    Change-Id: Ib20d0539b6b46e331c6378b3a9f0c2a334d34892
    Reviewed-on: https://swiftshader-review.googlesource.com/8612Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <capn@google.com>
    Tested-by: 's avatarNicolas Capens <capn@google.com>
    3fbe73e7
Thread.cpp 2.05 KB
EditWeb IDE
×

Replace Thread.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.