- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# FUThread Class Reference
[Utility Classes.]

An OS independent thread. More...

`#include <FUThread.h>`

List of all members.

## Public Member Functions
virtual | ~FUThread ()
| Destructor.
## Static Public Member Functions
static FUThread * | CreateFUThread ()
| Creates a thread.
static void | ExitFUThread (FUThread *thread)
| Waits for the thread to exit and clean up after it.
static void | YieldCurrentThread ()
| Yields the current thread to other threads, giving them a chance to run.
static void | SleepCurrentThread (unsigned long milliseconds)
| Sleeps the current thread for a minimum specified duration.

## Detailed Description

An OS independent thread.

Currently only supported for WIN32.

## Member Function Documentation

static FUThread* FUThread::CreateFUThread | ( |  | ) | `[static]`

  | Creates a thread. The thread must be passed to ExitFUThread for everything to be destroyed properly. Parameters:
  | lpStartAddress | The procedure to start the new thread running.
  | lpParameter | The parameter to pass to the new thread.
Returns: The new OS independent thread.

static void FUThread::ExitFUThread | ( | FUThread * | thread | ) | `[static]`

  | Waits for the thread to exit and clean up after it. Parameters:
  | thread | The thread to exit.

static void FUThread::SleepCurrentThread | ( | unsigned long | milliseconds | ) | `[static]`

  | Sleeps the current thread for a minimum specified duration. Parameters:
  | milliseconds | The duration to sleep.

The documentation for this class was generated from the following file:

- FUtils/FUThread.h