Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# OsclScheduler Class Reference
[OSCL Proc]

`#include <oscl_scheduler.h>`

## Static Public Methods
OSCL_IMPORT_REF void | Init (const char *name, Oscl_DefAlloc *alloc=NULL, int nreserve=20)
OSCL_IMPORT_REF void | Cleanup ()

## Detailed Description

Per-thread scheduler initialization and cleanup.

## Member Function Documentation

OSCL_IMPORT_REF void OsclScheduler::Cleanup | ( |  | ) | `[static]`

| This routine uninstalls and destroys Oscl scheduler for the calling thread.

OSCL_IMPORT_REF void OsclScheduler::Init | ( | const char * | name,
|  | Oscl_DefAlloc * | alloc = NULL,
|  | int | nreserve = 20
| ) | `[static]`

  | This routine creates and installs a scheduler in the calling thread. Parameters:
  name: | (input param) scheduler name.
  alloc: | (input param) optional allocator to use for the internal implementation.
  nreserve: | (input param) optional value for ready queue reserve size.

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

- oscl_scheduler.h