ChorusOS 5.0 Features and Architecture Overview

Basic Services

Basic and essential services are provided by the core executive API, as explained in "Core Executive".

Core Executive API

The core executive feature API is summarized in the following table.

Function 

Description 

actorCreate()

Create an actor 

actorDelete()

Delete an actor  

actorSelf()

Get the current actor capability 

lapDescDup()

Duplicate a LAP descriptor 

lapDescIsZero()

Check a LAP descriptor 

lapDescZero()

Clear a LAP descriptor 

lapInvoke()

Invoke a LAP 

lapResolve()

Find a LAP descriptor by name 

threadActivate()

Activate a newly created thread 

threadContext()

Get and/or set thread context 

threadCreate()

Create a thread 

threadDelete()

Delete a thread 

threadDelay()

Delay the current thread 

threadLoadR()

Get software register 

threadName()

Set/Get thread symbolic name 

threadSelf()

Get the current thread LI 

threadSemInit()

Initialize a thread semaphore 

threadSemWait()

Wait on a thread semaphore 

threadSemPost()

Signal a thread semaphore  

threadStat()

Get thread information 

threadStoreR()

Set software register 

svExcHandler()

Set actor exception handler 

svActorExcHandlerConnect()

Connect actor exception handler 

svActorExctHandlerDisconnect()

Disconnect actor exception handler 

svActorExctHandlerGetConnected()

Get actor exception handler 

svGetInvoker()

Get handler invoker 

svLapCreate()

Create a LAP 

svLapDelete()

Delete a LAP 

svMaskedLockGet()

Disable interrupts and get a spin lock 

svMaskedLockInit()

Initialize a spin lock 

svMaskedLockRel()

Release a spin lock and enable interrupts 

svSpinLockGet()

Disable preemption and get a spin lock 

svSpinLockInit()

Initialize a spin lock 

svSpinLockRel()

Release a spin lock and enable preemption 

svSpinLockTry()

Try to get a spin lock and disable preemption 

svSysCtx()

Get the system context structure address 

svSysPanic()

Force panic handling processing 

svSysReboot()

Request a reboot of the local size 

sySysTrapHandlerConnect()

Connect a trap handler 

sySysTrapHandlerDisconnect()

Disconnect a trap handler 

sySysTrapHandlerGetConnected()

Get a trap handler 

Get a trap handler()

Connect a trap handler 

svTrapDisConnect()

Disconnect a trap handler 

sysGetConf()

Get the ChorusOS module configuration value 

sysRead()

Read characters from the system console 

sysReboot()

Request a reboot of the local site 

sysWrite()

Write characters from the system console 

sysPoll()

Poll characters from the system console 

See CORE(5FEA)for further details about the core executive feature.