浙大城市学院实验报告
注意:
- 完成本实验后,将实验小报告上传到学在城院平台指定作业提交点。请务必在截至期前提交。
struct task_struct {
......
volatile long state;
void *stack;
unsigned int flags;
unsigned int ptrace;
int prio;
int static_prio;
int normal_prio;
unsigned intpolicy;
int nr_cpus_allowed;
cpumask_t cpus_allowed;
struct sched_info sched_info;
struct list_head tasks;
struct mm_struct *mm;
struct mm_struct *active_mm;
int exit_state;
int exit_code;
int exit_signal;
int pdeath_signal;
unsigned sched_reset_on_fork:1;
unsigned sched_contributes_to_load:1;
unsigned sched_migrated:1;
unsigned sched_remote_wakeup:1;
unsigned long atomic_flags;
struct restart_block restart_block;
pid_t pid;
pid_t tgid;
struct task_struct __rcu *real_parent;
struct task_struct __rcu *parent;
struct list_head children;
struct list_head sibling;
struct task_struct *group_leader;
struct pid *thread_pid;
char comm[TASK_COMM_LEN];
struct fs_struct *fs;
struct files_struct *files;
struct signal_struct *signal;
struct thread_struct thread;
};
|