BOOS Core API 3.1
- api::Collection<Type>
- api::Heap
- api::IllegalValue<Type>
- api::Interrupt
- api::Iterable<Type>
- api::Iterator<Type>
- api::Kernel
- api::List<Type>
- api::ListIterator<Type>
- api::Mutex
- api::Object
- api::ProcessorInterrupt
- api::ProcessorPll
- api::ProcessorRegisters
- api::ProcessorTimer
- api::Queue<Type>
- api::Resource
- api::Runtime
- api::Scheduler
- api::Semaphore
- api::Stack<Type>
- api::String<Char>
- api::Synchronizable
- api::System
- api::Task
- api::Thread
- api::Timer
- api::Toggle
- api::Value<Type>
- library::AbstractBuffer<Type,Alloc>
- library::AbstractLinkedList<Type,Alloc>
- library::Align<Type,SIZEOF,Alloc>
- library::Buffer<Type,COUNT,Alloc>
- library::CircularList<Type,Alloc>
- library::Heap
- library::LinkedList<Type,Alloc>
- library::LinkedNode<Type,Alloc>
- library::Memory
- library::Stack<Type,Alloc>
- library::String<Char,Alloc>
- library::Toggle<Alloc>
Baigudin Software participates in OS DAY 2017 conference
The Baigudin Software Company has participated in OS DAY – a fourth scientific-practical conference, which aims to determine a mission of Russia in developing sphere of operating systems.
Interface «api::Kernel»
A kernel interface of the operating system.
- api::Kernel
- public api::Object
public:
virtual api::Interrupt* createInterrupt(api::Task& handler, int32 source);
virtual api::Mutex* createMutex();
virtual api::Semaphore* createSemaphore(int32 permits);
virtual api::Semaphore* createSemaphore(int32 permits, bool isFair);
virtual api::Value<int64>& getExecutionTime();
virtual api::Toggle& getGlobalInterrupt();
virtual api::Runtime& getRuntime();
virtual api::Scheduler& getScheduler();
public: virtual ~Kernel();
Destructor.
public: virtual api::Interrupt* createInterrupt(api::Task& handler, int32 source);
Creates new interrupt resource.
Parameters:
handler — user class which implements an interrupt handler interface.
source — available interrupt source number.
Returns:
new interrupt resource, or NULL if error has been occurred.
public: virtual api::Mutex* createMutex();
Creates new mutex resource.
Returns:
new mutex resource, or NULL if error has been occurred.
public: virtual api::Semaphore* createSemaphore(int32 permits);
Creates new unfair semaphore resource.
Parameters:
permits — the initial number of permits available.
Returns:
new semaphore resource, or NULL if error has been occurred.
public: virtual api::Semaphore* createSemaphore(int32 permits, bool isFair);
Creates new semaphore resource.
Parameters:
permits — the initial number of permits available.
isFair — true if this semaphore will guarantee FIFO granting of permits under contention.
Returns:
new semaphore resource, or NULL if error has been occurred.
public: virtual api::Value<int64>& getExecutionTime();
Returns a value of a kernel running time in nanoseconds.
Returns:
a running time in nanoseconds.
public: virtual api::Toggle& getGlobalInterrupt();
Returns a global interrupt resource.
Returns:
a global interrupt resource.
public: virtual api::Runtime& getRuntime();
Returns a kernel runtime environment.
Returns:
a kernel runtime environment.
public: virtual api::Scheduler& getScheduler();
Returns a kernel scheduler.
Returns:
a kernel scheduler.
public: virtual int32 getStackSize();
Returns a default size of stack in bytes.
Returns:
a size of stack in bytes.
public: virtual bool isConstructed() const;
Tests if this object has been constructed.
public: static bool isObject(const Type* obj);
Tests if given object has been constructed object.