template class Core::Platform::FixedSystemSupervisor

Overview

#include <corefixedsupervisor.h>

template <class SupervisorConfig>
class FixedSystemSupervisor:
    public Core::Platform::ISystemSupervisor,
    public Core::Portable::StaticSingleton
{
public:
    // methods

    virtual bool getThreadStack(void*& stack, int& size, CStringPtr threadName);
    virtual void freeThreadStack(CStringPtr threadName);
    virtual bool grantObjectAccess(void* platformObject);
    virtual int getMaxThreads() const;
};

Inherited Members

public:
    // methods

    virtual bool getThreadStack(void*& stack, int& size, CStringPtr threadName) = 0;
    virtual void freeThreadStack(CStringPtr threadName) = 0;
    virtual bool grantObjectAccess(void* platformObject) = 0;
    virtual int getMaxThreads() const = 0;
    static T& instance();
    DeletableList& instance();

Detailed Documentation

Methods

virtual bool getThreadStack(void*& stack, int& size, CStringPtr threadName)

Get a thread stack for a thread with given name.

virtual void freeThreadStack(CStringPtr threadName)

Frees stack used by thread for other threads.

virtual bool grantObjectAccess(void* platformObject)

Request access to an existing platform/kernel object.

virtual int getMaxThreads() const

Get Maximum Supported Threads, -1 when unlimited.