UbixOS  2.0
taskStruct Struct Reference

#include <sched.h>

Collaboration diagram for taskStruct:
Collaboration graph

Data Fields

uint32_t children
 
uint32_t counter
 
uint16_t egid
 
uint16_t euid
 
fileDescriptor_tfiles [MAX_OFILES]
 
uint32_t gid
 
uint16_t groups [32]
 
struct i387Struct i387
 
pidType id
 
struct {
   struct inode *   exec
 
   struct inode *   pwd
 
   struct inode *   root
 
inodes
 
uint32_t last_exit
 
char name [256]
 
struct taskStructnext
 
struct osInfo oInfo
 
struct taskStructparent
 
uint32_t pgrp
 
pidType ppid
 
struct taskStructprev
 
uint16_t sgid
 
tState state
 
uint16_t suid
 
struct thread td
 
tty_termterm
 
struct tssStruct tss
 
uint32_t uid
 
uInt16 usedMath
 
char username [256]
 

Detailed Description

Definition at line 62 of file sched.h.

Field Documentation

◆ children

uint32_t taskStruct::children

Definition at line 88 of file sched.h.

Referenced by sys_fork(), and sys_wait4().

◆ counter

uint32_t taskStruct::counter

Definition at line 84 of file sched.h.

◆ egid

uint16_t taskStruct::egid

Definition at line 75 of file sched.h.

Referenced by in_group_p().

◆ euid

uint16_t taskStruct::euid

Definition at line 74 of file sched.h.

Referenced by permission().

◆ exec

struct inode* taskStruct::exec

Definition at line 82 of file sched.h.

◆ files

fileDescriptor_t* taskStruct::files[MAX_OFILES]

Definition at line 71 of file sched.h.

Referenced by execThread(), sysExec(), and systemTask().

◆ gid

uint32_t taskStruct::gid

◆ groups

uint16_t taskStruct::groups[32]

Definition at line 85 of file sched.h.

Referenced by in_group_p().

◆ i387

struct i387Struct taskStruct::i387

Definition at line 68 of file sched.h.

Referenced by mathStateRestore().

◆ id

◆ inodes

struct { ... } taskStruct::inodes

◆ last_exit

uint32_t taskStruct::last_exit

Definition at line 89 of file sched.h.

Referenced by sys_wait4().

◆ name

char taskStruct::name[256]

Definition at line 64 of file sched.h.

◆ next

struct taskStruct* taskStruct::next

Definition at line 66 of file sched.h.

Referenced by sched_addDelTask().

◆ oInfo

struct osInfo taskStruct::oInfo

◆ parent

struct taskStruct* taskStruct::parent

Definition at line 90 of file sched.h.

Referenced by sys_fork().

◆ pgrp

uint32_t taskStruct::pgrp

Definition at line 87 of file sched.h.

Referenced by sys_fork(), sys_getpgrp(), and sys_setpgid().

◆ ppid

pidType taskStruct::ppid

Definition at line 86 of file sched.h.

Referenced by sys_fork(), and sys_getppid().

◆ prev

struct taskStruct* taskStruct::prev

Definition at line 65 of file sched.h.

◆ pwd

struct inode* taskStruct::pwd

Definition at line 80 of file sched.h.

◆ root

struct inode* taskStruct::root

Definition at line 81 of file sched.h.

Referenced by lookup().

◆ sgid

uint16_t taskStruct::sgid

Definition at line 75 of file sched.h.

◆ state

tState taskStruct::state

Definition at line 72 of file sched.h.

Referenced by biosCall(), fork_copyProcess(), sched_setStatus(), schedNewTask(), sys_fork(), and sysCheckPid().

◆ suid

uint16_t taskStruct::suid

Definition at line 74 of file sched.h.

◆ td

struct thread taskStruct::td

◆ term

tty_term* taskStruct::term

◆ tss

struct tssStruct taskStruct::tss

Definition at line 67 of file sched.h.

Referenced by biosCall(), execFile(), execThread(), fork_copyProcess(), sys_fork(), and sysExec().

◆ uid

◆ usedMath

uInt16 taskStruct::usedMath

Definition at line 76 of file sched.h.

Referenced by mathStateRestore(), and schedNewTask().

◆ username

char taskStruct::username[256]

Definition at line 91 of file sched.h.

Referenced by schedNewTask(), sys_getlogin(), and sys_setlogin().


The documentation for this struct was generated from the following file: