#include <threads.h>
|
| ThreadList () |
|
| ~ThreadList () |
|
void | add (Thread *t) |
|
void | remove (Thread *t) |
|
int | size () const |
|
Thread * | last () |
|
| Synchronized () |
|
| ~Synchronized () |
|
void | wait () |
| Causes current thread to wait until another thread invokes the notify() method or the notifyAll() method for this object.
|
|
bool | wait (unsigned long timeout) |
| Causes current thread to wait until either another thread invokes the notify() method or the notifyAll() method for this object, or a specified amount of time has elapsed.
|
|
void | notify () |
| Wakes up a single thread that is waiting on this object's monitor.
|
|
void | notify_all () |
| Wakes up all threads that are waiting on this object's monitor.
|
|
bool | lock () |
| Enter a critical section.
|
|
TryLockResult | trylock () |
| Try to enter a critical section.
|
|
bool | unlock () |
| Leave a critical section.
|
|
ThreadList::ThreadList |
( |
| ) |
|
|
inline |
ThreadList::~ThreadList |
( |
| ) |
|
|
inline |
void ThreadList::add |
( |
Thread * |
t | ) |
|
|
inline |
void ThreadList::remove |
( |
Thread * |
t | ) |
|
|
inline |
int ThreadList::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: