Function index

The content of the Stage switching column indicates the behavior of an EVL thread when calling the service with respect to its execution stage:

▲ denotes a strict out-of-band call. The caller must be attached to the EVL core. It is unconditionally promoted to the out-of-band execution stage if running in-band at the time of the call.

▼ denotes a strict in-band call. The caller is unconditionally switched to the in-band execution stage if running out-of-band at the time of the call.

△ denotes a conforming call which is available to in-band and out-of-band callers from the most appropriate execution stage based on their current runtime state. If the caller undergoes the SCHED_WEAK policy, or is not attached to the EVL core, this call is directly handled from the in-band stage. In all other cases, the caller is switched to the out-of-band execution stage before the request is handled.

🟰 denotes a transparent call which is immediately available to in-band and out-of-band callers from their current execution stage (i.e. no stage switch).

In addition to the above rules:

  • the caller may switch to the in-band execution stage if running out-of-band at the time of the call on first access to a statically initialized synchronization object (EVL_*_INITIALIZER()) in order to finalize the construction before carrying out the requested operation. This is required only once in the object’s lifetime.

  • if the caller undergoes the SCHED_WEAK policy, locking a mutex keeps it running out-of-band until it drops such lock.

The content of the non-EVL column indicates whether the service is also available to threads which are not attached to the EVL core at the time of the call.

Thread services

FunctionStageNon-EVL threads
evl_attach_thread() – yes
evl_attach_self() – yes
evl_detach_thread() in-band no
evl_detach_self() in-band no
evl_get_self() no stage switch no
evl_switch_oob() out-of-band no
evl_switch_inband() in-band yes
evl_is_inband() no stage switch yes
evl_get_state() no stage switch yes
evl_unblock_thread() no stage switch yes
evl_demote_thread() no stage switch yes
evl_suspend_thread() no stage switch yes
evl_resume_thread() no stage switch yes
evl_set_thread_mode() no stage switch yes
evl_clear_thread_mode() no stage switch yes
evl_subscribe() in-band no
evl_unsubscribe() in-band no

Scheduler services

FunctionStageNon-EVL threads
evl_set_schedattr() no stage switch yes
evl_get_schedattr() no stage switch yes
evl_control_sched() no stage switch yes
evl_yield() out-of-band no
evl_get_cpustate() no stage switch yes

Clock services

FunctionStageNon-EVL threads
evl_read_clock() no stage switch yes
evl_set_clock() no stage switch yes
evl_get_clock_resolution() no stage switch yes
evl_sleep_until() out-of-band no
evl_usleep() out-of-band no

Timer services

FunctionStageNon-EVL threads
evl_new_timer() in-band yes
evl_set_timer() no stage switch yes
evl_get_timer() no stage switch yes

Mutex services

FunctionStageNon-EVL threads
evl_create_mutex() in-band yes
evl_new_mutex() in-band yes
evl_open_mutex() in-band yes
evl_lock_mutex() out-of-band no
evl_timedlock_mutex() out-of-band no
evl_trylock_mutex() out-of-band no
evl_unlock_mutex() no stage switch no
evl_set_mutex_ceiling() in-band yes
evl_get_mutex_ceiling() no stage switch yes
evl_close_mutex() in-band yes

Read/write locking services

FunctionStageNon-EVL threads
evl_create_rwlock() in-band yes
evl_new_rwlock() in-band yes
evl_destroy_rwlock() in-band yes
evl_lock_read() out-of-band no
evl_trylock_read() out-of-band yes
evl_unlock_read() no stage switch yes
evl_lock_write() out-of-band no
evl_trylock_write() out-of-band yes
evl_unlock_write() no stage switch yes

Event services

FunctionStageNon-EVL threads
evl_create_event() in-band yes
evl_new_event() in-band yes
evl_open_event() in-band yes
evl_wait_event() no stage switch no
evl_timedwait_event() no stage switch no
evl_signal_event() no stage switch no
evl_signal_thread() no stage switch no
evl_broadcast_event() no stage switch no
evl_close_event() in-band yes

Flags services

FunctionStageNon-EVL threads
evl_create_flags() in-band yes
evl_new_flags() in-band yes
evl_open_flags() in-band yes
evl_wait_some_flags() out-of-band no
evl_wait_flags() out-of-band no
evl_timedwait_some_flags() out-of-band no
evl_timedwait_flags() out-of-band no
evl_wait_exact_flags() out-of-band no
evl_timedwait_exact_flags() out-of-band no
evl_trywait_some_flags() no stage switch yes
evl_trywait_exact_flags() no stage switch yes
evl_trywait_flags() no stage switch yes
evl_post_flags() no stage switch yes
evl_broadcast_flags() no stage switch yes
evl_peek_flags() no stage switch yes
evl_close_flags() in-band yes

Semaphore services

FunctionStageNon-EVL threads
evl_create_sem() in-band yes
evl_new_sem() in-band yes
evl_flush_sem() no stage switch yes
evl_open_sem() in-band yes
evl_get_sem() out-of-band no
evl_timedget_sem() out-of-band no
evl_put_sem() no stage switch yes
evl_tryget_sem() no stage switch yes
evl_peek_sem() no stage switch yes
evl_close_sem() in-band yes

Message queue services

FunctionStageNon-EVL threads
evl_create_mq() in-band yes
evl_new_mq() in-band yes
evl_open_mq() in-band yes
evl_close_mq() in-band yes
evl_unlink_mq() in-band yes
evl_send_mq() conforming no
evl_timedsend_mq() conforming no
evl_trysend_mq() no stage switch yes
evl_receive_mq() conforming no
evl_timedreceive_mq() conforming no
evl_tryreceive_mq() no stage switch yes
evl_peek_mq() no stage switch yes

Ring services

FunctionStageNon-EVL threads

Observable services

FunctionStageNon-EVL threads
evl_create_observable() in-band yes
evl_new_observable() in-band yes
evl_update_observable() out-of-band yes
evl_read_observable() out-of-band yes

Polling services

FunctionStageNon-EVL threads
evl_new_poll() in-band yes
evl_add_pollfd() out-of-band no
evl_del_pollfd() out-of-band no
evl_mod_pollfd() out-of-band no
evl_poll() out-of-band no
evl_timedpoll() out-of-band no

Memory heap services

FunctionStageNon-EVL threads
evl_init_heap() in-band yes
evl_init_heap_unlocked() no stage switch yes
evl_extend_heap() no stage switch no
evl_extend_heap_unlocked() no stage switch yes
evl_destroy_heap() in-band yes
evl_destroy_heap_unlocked() no stage switch yes
evl_alloc_block() out-of-band no
evl_alloc_block_unlocked() no stage switch yes
evl_free_block() out-of-band no
evl_free_block_unlocked() no stage switch yes
evl_check_block() out-of-band no
evl_check_block_unlocked() no stage switch yes
evl_heap_raw_size() no stage switch yes
evl_heap_size() no stage switch yes
evl_heap_used() no stage switch yes

Proxy services

FunctionStageNon-EVL threads
evl_create_proxy() in-band yes
evl_new_proxy() in-band yes
evl_write_proxy() no stage switch yes
evl_read_proxy() no stage switch yes
evl_print_proxy() no stage switch yes
evl_vprint_proxy() no stage switch yes
evl_printf() no stage switch yes
evl_eprintf() no stage switch yes
evl_stdout() no stage switch yes
evl_stderr() no stage switch yes
evl_create_xbuf() in-band yes
evl_new_xbuf() in-band yes

I/O services

FunctionStageNon-EVL threads
oob_read() out-of-band no
oob_write() out-of-band no
oob_ioctl() out-of-band no
oob_recvmsg() out-of-band no
oob_sendmsg() out-of-band no
oob_setsockopt() out-of-band no
oob_getsockopt() out-of-band no

Networking services

FunctionStageNon-EVL threads
evl_net_open_dev() in-band yes
evl_net_enable_port() in-band yes
evl_net_disable_port() in-band yes
evl_net_set_filter() in-band yes
evl_net_solicit() in-band yes
evl_net_query_dev() in-band yes

Tracing services

FunctionStageNon-EVL threads
evl_open_ktracer() in-band yes
evl_close_ktracer() in-band yes
evl_write_ktrace() no stage switch yes
evl_print_ktrace() no stage switch yes
evl_freeze_ktrace() no stage switch yes

Misc routines

FunctionStageNon-EVL threads
evl_init() – yes
evl_get_version() no stage switch yes
evl_sigdebug_handler() – yes

Last modified: Thu, 03 Dec 2026 11:13:33 +0100