Sys Modules

April 3, 2026 ยท View on GitHub

This section documents xutils/src/sys/*.

Files

  • cli.md: terminal input, window rendering and progress bars
  • cpu.md: CPU count and affinity helpers
  • log.md: global logger
  • mon.md: Linux process/system monitoring
  • pool.md: chained memory pool
  • sig.md: signal handling, daemonize and backtrace helpers
  • srch.md: recursive file/content search
  • sync.md: mutexes, rwlocks, atomics and simple barriers
  • thread.md: threads and lightweight repeating tasks
  • type.md: small type/format conversion helpers
  • xfs.md: file, path and directory utilities
  • xtime.md: time conversion and formatting helpers

Common Rules

  • Many modules are Linux-first. When a feature is absent or degraded on Windows, the docs call that out.
  • Several helpers choose process termination on internal failure instead of propagating an error. This is intentional in the current implementation and must be understood before reuse in libraries.