#include <oscl_scheduler.h>
Static Public Member Functions | |
static OSCL_IMPORT_REF void | Init (const char *name, Oscl_DefAlloc *alloc=NULL, int nreserve=20) |
static OSCL_IMPORT_REF void | Cleanup () |
Per-thread scheduler initialization and cleanup.
static OSCL_IMPORT_REF void OsclScheduler::Cleanup | ( | ) | [static] |
This routine uninstalls and destroys Oscl scheduler for the calling thread.
static 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.
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. |