NAME
Linux::Event::XS - XS hot-path helpers for Linux::Event
DESCRIPTION
This module contains private XS helpers used by Linux::Event. The API is not public and may change between releases.
PRIVATE FUNCTIONS
registry_new
Create an fd-indexed registry object.
registry_get($registry, $fd)
Return the value stored for $fd, or undef.
registry_set($registry, $fd, $value)
Store $value for $fd, replacing any previous value.
registry_delete($registry, $fd)
Remove and return the value stored for $fd, or undef.
registry_count($registry)
Return the number of live entries.
backend_watch_new
Create a private backend-side watcher record.
backend_watch_fh
Return the filehandle stored in a backend watcher record.
backend_watch_mask / backend_watch_set_mask
Read or update the readiness mask stored in a backend watcher record.
backend_watch_set_loop_tag
Update the loop and tag stored in a backend watcher record.
backend_watch_dispatch
Translate an epoll event hash into the internal readiness mask and invoke the stored dispatch callback.
epoll_new / epoll_add / epoll_modify / epoll_delete / epoll_wait_dispatch
Private XS epoll backend helpers. The XS epoll object owns the epoll fd and a reused struct epoll_event buffer for dispatch-heavy paths.
timer_heap_new / timer_heap_at_ns / timer_heap_cancel / timer_heap_next_deadline_ns / timer_heap_pop_expired
Private XS timer heap helpers used by Linux::Event::Scheduler.