Skip to content
Snippets Groups Projects
  • Avi Kivity's avatar
    7c97df36
    sched: detached threads · 7c97df36
    Avi Kivity authored
    Add a detached thread class (with a private destructor, so it can only be
    allocated on the heap).  The implementation uses a reaper thread to wait
    until the detached thread is dead, and then ->join() and delete it.
    7c97df36
    History
    sched: detached threads
    Avi Kivity authored
    Add a detached thread class (with a private destructor, so it can only be
    allocated on the heap).  The implementation uses a reaper thread to wait
    until the detached thread is dead, and then ->join() and delete it.