| UbixOS
    2.0
    | 
#include <sched.h>

| Data Fields | |
| uint32_t | children | 
| uint32_t | counter | 
| uint16_t | egid | 
| uint16_t | euid | 
| fileDescriptor_t * | files [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 taskStruct * | next | 
| struct osInfo | oInfo | 
| struct taskStruct * | parent | 
| uint32_t | pgrp | 
| pidType | ppid | 
| struct taskStruct * | prev | 
| uint16_t | sgid | 
| tState | state | 
| uint16_t | suid | 
| struct thread | td | 
| tty_term * | term | 
| struct tssStruct | tss | 
| uint32_t | uid | 
| uInt16 | usedMath | 
| char | username [256] | 
| uint32_t taskStruct::children | 
Definition at line 88 of file sched.h.
Referenced by sys_fork(), and sys_wait4().
| uint16_t taskStruct::egid | 
Definition at line 75 of file sched.h.
Referenced by in_group_p().
| uint16_t taskStruct::euid | 
Definition at line 74 of file sched.h.
Referenced by permission().
| fileDescriptor_t* taskStruct::files[MAX_OFILES] | 
Definition at line 71 of file sched.h.
Referenced by execThread(), sysExec(), and systemTask().
| uint32_t taskStruct::gid | 
Definition at line 73 of file sched.h.
Referenced by execFile(), fork_copyProcess(), getgid(), sys_fork(), sys_getegid(), sys_getGID(), sys_setGID(), and sysGetGid().
| uint16_t taskStruct::groups[32] | 
Definition at line 85 of file sched.h.
Referenced by in_group_p().
| struct i387Struct taskStruct::i387 | 
Definition at line 68 of file sched.h.
Referenced by mathStateRestore().
| pidType taskStruct::id | 
Definition at line 63 of file sched.h.
Referenced by __alignmentCheck(), __debug(), __divideError(), __doubleFault(), __floatingPoint(), __machineCheck(), __nmi(), __security(), __simd(), __virtualization(), biosCall(), elf_load_file(), execFile(), execThread(), fork_copyProcess(), freebsd6_mmap(), getpid(), invalidCall(), invalidCall_posix(), kmod_load(), ldEnable(), pbuf_free(), schedEndTask(), sys_call(), sys_call_posix(), sys_exit(), sys_fork(), sys_getpid(), sys_invalid(), sys_mmap(), sys_setpgid(), sys_wait4(), sysExec(), sysGetFreePage(), sysGetpid(), sysSDE(), systemTask(), ubthread_mutex_lock(), ubthread_mutex_unlock(), and vmm_pageFault().
| struct { ... } taskStruct::inodes | 
| uint32_t taskStruct::last_exit | 
Definition at line 89 of file sched.h.
Referenced by sys_wait4().
| struct taskStruct* taskStruct::next | 
Definition at line 66 of file sched.h.
Referenced by sched_addDelTask().
| struct osInfo taskStruct::oInfo | 
Definition at line 69 of file sched.h.
Referenced by biosCall(), execFile(), execThread(), fopen(), fork_copyProcess(), sys_chdir(), sys_fchdir(), sys_fork(), sys_getcwd(), sysExec(), sysGetCwd(), and sysMkDir().
| struct taskStruct* taskStruct::parent | 
Definition at line 90 of file sched.h.
Referenced by sys_fork().
| uint32_t taskStruct::pgrp | 
Definition at line 87 of file sched.h.
Referenced by sys_fork(), sys_getpgrp(), and sys_setpgid().
| pidType taskStruct::ppid | 
Definition at line 86 of file sched.h.
Referenced by sys_fork(), and sys_getppid().
| struct taskStruct* taskStruct::prev | 
| tState taskStruct::state | 
Definition at line 72 of file sched.h.
Referenced by biosCall(), fork_copyProcess(), sched_setStatus(), schedNewTask(), sys_fork(), and sysCheckPid().
| struct thread taskStruct::td | 
Definition at line 78 of file sched.h.
Referenced by execFile(), fork_copyProcess(), fstat(), schedNewTask(), sys_call(), sys_call_posix(), sys_fork(), and sysExec().
| tty_term* taskStruct::term | 
Definition at line 77 of file sched.h.
Referenced by execFile(), fork_copyProcess(), sys_fgetc(), sys_fork(), sys_fwrite(), sys_pread(), sys_read(), sysFwrite(), and systemTask().
| struct tssStruct taskStruct::tss | 
Definition at line 67 of file sched.h.
Referenced by biosCall(), execFile(), execThread(), fork_copyProcess(), sys_fork(), and sysExec().
| uint32_t taskStruct::uid | 
Definition at line 73 of file sched.h.
Referenced by execFile(), fork_copyProcess(), getuid(), sys_fork(), sys_getEUID(), sys_geteuid(), sys_getUID(), sys_setUID(), sysGetUid(), and sysPasswd().
| uInt16 taskStruct::usedMath | 
Definition at line 76 of file sched.h.
Referenced by mathStateRestore(), and schedNewTask().
| char taskStruct::username[256] | 
Definition at line 91 of file sched.h.
Referenced by schedNewTask(), sys_getlogin(), and sys_setlogin().