|
The Pedigree Project 0.1
|
#include <PosixSubsystem.h>
Collaboration diagram for PosixSubsystem::PosixThread:Public Member Functions | |
| PosixThreadKey * | getThreadData (size_t key) |
| void | removeThreadData (size_t key) |
| bool | addThreadData (size_t key, PosixThreadKey *info) |
Public Attributes | |
| Thread * | pThread |
| Completion | isRunning |
| void * | returnValue |
| bool | canReclaim |
| bool | isDetached |
| Tree< size_t, PosixThreadKey * > | m_ThreadData |
| ExtensibleBitmap | m_ThreadKeys |
| size_t | lastDataKey |
| Last data key that was allocated (for the bitmap) | |
| size_t | nextDataKey |
| Next data key available. | |
Private Member Functions | |
| PosixThread (const PosixThread &) | |
| const PosixThread & | operator= (const PosixThread &) |
POSIX Thread information
Definition at line 618 of file PosixSubsystem.h.
|
inline |
Definition at line 620 of file PosixSubsystem.h.
|
inline |
Definition at line 630 of file PosixSubsystem.h.
|
inline |
Adds thread-specific data given a PosixThreadKey strcuture and a key.
Definition at line 662 of file PosixSubsystem.h.
References Tree< K, E >::insert(), and Tree< K, E >::lookup().
|
inline |
Grabs thread-specific data given a key
Definition at line 646 of file PosixSubsystem.h.
References Tree< K, E >::lookup().
|
inline |
Removes thread-specific data given a key (does not call the destructor, or delete the storage.)
Definition at line 654 of file PosixSubsystem.h.
References Tree< K, E >::remove().
| bool PosixSubsystem::PosixThread::canReclaim |
Definition at line 636 of file PosixSubsystem.h.
| bool PosixSubsystem::PosixThread::isDetached |
Definition at line 637 of file PosixSubsystem.h.
| Completion PosixSubsystem::PosixThread::isRunning |
Definition at line 633 of file PosixSubsystem.h.
| size_t PosixSubsystem::PosixThread::lastDataKey |
Last data key that was allocated (for the bitmap)
Definition at line 670 of file PosixSubsystem.h.
| Tree<size_t, PosixThreadKey*> PosixSubsystem::PosixThread::m_ThreadData |
Links to POSIX thread keys (ie, thread-specific data)
Definition at line 642 of file PosixSubsystem.h.
Referenced by PosixSubsystem::~PosixSubsystem().
| ExtensibleBitmap PosixSubsystem::PosixThread::m_ThreadKeys |
Definition at line 643 of file PosixSubsystem.h.
| size_t PosixSubsystem::PosixThread::nextDataKey |
Next data key available.
Definition at line 673 of file PosixSubsystem.h.
| Thread* PosixSubsystem::PosixThread::pThread |
Definition at line 632 of file PosixSubsystem.h.
| void* PosixSubsystem::PosixThread::returnValue |
Definition at line 634 of file PosixSubsystem.h.