|
The Pedigree Project 0.1
|
#include <OwnedThread.h>
Collaboration diagram for OwnedThread:Public Member Functions | |
| OwnedThread (Thread *thread) | |
| void | adopt (Thread *thread) |
| void | stop () |
| void | join () |
| Thread * | get () const |
| Thread * | operator-> () const |
| operator bool () const | |
Private Member Functions | |
| OwnedThread (const OwnedThread &)=delete | |
| OwnedThread & | operator= (const OwnedThread &)=delete |
Private Attributes | |
| Thread * | m_pThread |
Owns one joinable worker and makes cancellation plus joining part of the containing object's lifetime.
Definition at line 19 of file OwnedThread.h.
|
inline |
Definition at line 21 of file OwnedThread.h.
|
inlineexplicit |
Definition at line 23 of file OwnedThread.h.
|
inline |
Definition at line 25 of file OwnedThread.h.
|
inline |
Definition at line 29 of file OwnedThread.h.
|
inline |
Definition at line 61 of file OwnedThread.h.
|
inline |
Joins a worker whose containing object has published its own stop.
Definition at line 49 of file OwnedThread.h.
References Thread::joinForCompletion(), and panic().
Referenced by TextIO::initialise().
Here is the caller graph for this function:
|
inlineexplicit |
Definition at line 69 of file OwnedThread.h.
|
inline |
Definition at line 65 of file OwnedThread.h.
|
inline |
Definition at line 36 of file OwnedThread.h.
|
private |
Definition at line 77 of file OwnedThread.h.