Changeset 2085 for Whitix/branches/netchannel/include/task.h
- Timestamp:
- 05/20/10 16:05:25 (2 years ago)
- Files:
-
- 1 modified
-
Whitix/branches/netchannel/include/task.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/netchannel/include/task.h
r1701 r2085 29 29 struct JournalHandle; 30 30 31 #define THR_USED_MATH 1 31 #define THR_USED_MATH 1 32 #define THR_NEED_RESTORE 2 32 33 33 34 struct Thread 34 35 { 35 36 DWORD currStack; 37 38 /* Event handling functions */ 39 void (*eventFunc)(void* data); 40 void* eventData; 41 DWORD eventStack; 42 DWORD oldEip; 43 36 44 struct Process* parent; 37 45 DWORD state,entry,esp3; … … 53 61 /* Thread defines go here */ 54 62 55 #define THR_RUNNING 1 56 #define THR_PAUSED 2 57 #define THR_DYING 4 63 #define THR_RUNNING 1 64 #define THR_PAUSED 2 65 #define THR_INTERRUPTIBLE 4 66 #define THR_DYING 8 58 67 59 68 struct Process … … 61 70 struct ListHead next,sibling,children; 62 71 int exitCode, state; 72 73 /* Resource lists */ 63 74 struct File* files; /* Dynamically allocated */ 64 Spinlock fileListLock; 65 int numFds; 75 struct KeTimer** timers; 76 Spinlock fileListLock, timerListLock; 77 int numFds, numTimers; 78 79 /* Filesystem contexts */ 66 80 struct VNode *cwd,*root,*exec; 67 81 char* name;
