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

# OsclMem Class Reference
[OSCL Memory]

`#include <oscl_mem.h>`

## Static Public Methods
OSCL_IMPORT_REF void | Init ()
OSCL_IMPORT_REF void | Cleanup ()

## Member Function Documentation

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

| Per-thread cleanup of Oscl Memory @exception: Leaves on error;

OSCL_IMPORT_REF void OsclMem::Init | ( |  | ) | `[static]`

  | Per-thread initialization of Oscl Memory Parameters:
  lock: | A lock class for use with multi-threaded applications. The lock is needed in use cases where memory may be allocated in one thread and freed in another. In this case, there must be a single lock object, and its pointer must be passed to the OsclMem::Init call in each thread. If no lock is provided, the memory manager will not be thread-safe. @exception: Leaves on error

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

- oscl_mem.h