Linux 的进程控制块数据结构
struct task_struct {long state//任务的运行状态(-1 不可运行,0 可运行(就绪),>0 已停止)。long counter// 任务运行时间计数(递减)(滴答数),运行时间片。long priority// 运行优先数。任务开始运行时 counter=priority,越大运行越长。long signal// 信号。是位图,每个比特位代表一种信号,信号值=位偏移值+1。struct sigaction sigacti...