Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

Interface «eoos::api::System»

The operating system syscall interface.

public: virtual api::Mutex* createMutex();

Creates a new mutex resource.

Returns:
A new mutex resource, or NULLPTR if an error has been occurred.

public: virtual api::Semaphore* createSemaphore(int32_t permits);

Creates a new semaphore resource.

Parameters:
permits — The initial number of permits available.

Returns:
A new semaphore resource, or NULLPTR if an error has been occurred.

public: virtual api::OutStream<char_t>& getErrorStreamChar();

Returns system error output character stream.

Returns:
The system error output character stream.

public: virtual api::Heap& getHeap();

Returns the system heap memory.

Returns:
The system heap memory.

public: virtual api::OutStream<char_t>& getOutStreamChar();

Returns system output character stream.

Returns:
The system output character stream.

public: virtual api::Scheduler& getScheduler();

Returns the system scheduler.

Returns:
The system scheduler.

public: virtual bool_t isConstructed() const;

Tests if this object has been constructed.

Returns:
True if object has been constructed successfully.

protected: virtual ~System();

Destructor.

Back to class list