Lunatik

linux.taskModule

Linux kernel constants exposed under linux.task.

Values are populated at build time from the kernel headers. Task state flags. Mirrors TASK_* defines in <linux/sched.h>. Keys are the kernel names with the prefix stripped: TASK_<NAME> is linux.task.<NAME>.

Usage

local task = require("linux.task")