|
The Pedigree Project 0.1
|
#include <Process.h>
Collaboration diagram for Process::FileContextLease:Public Member Functions | |
| File * | get () const |
| File * | operator-> () const |
| operator bool () const | |
| void | reset () |
Private Member Functions | |
| FileContextLease (const FileContextLease &)=delete | |
| FileContextLease & | operator= (const FileContextLease &)=delete |
| FileContextLease (FileContextLease &&)=delete | |
| FileContextLease & | operator= (FileContextLease &&)=delete |
| void | adopt (File *file, bool vfsReference) |
| void | swap (FileContextLease &other) |
Private Attributes | |
| File * | m_pFile |
| bool | m_bVfsReference |
| TerminationDeferral | m_TerminationDeferral |
Friends | |
| class | Process |
Pins a tracked controlling-terminal File for a lexical operation. Filesystem roots which are deliberately untracked remain borrowed and externally stable. Leases are thread-affine and must remain lexical.
| Process::FileContextLease::FileContextLease | ( | ) |
Definition at line 378 of file Process.cc.
| Process::FileContextLease::~FileContextLease | ( | ) |
Definition at line 381 of file Process.cc.
|
private |
Definition at line 395 of file Process.cc.
|
inlineexplicit |
|
inline |
| void Process::FileContextLease::reset | ( | ) |
Definition at line 385 of file Process.cc.
|
private |
Definition at line 403 of file Process.cc.
|
private |