Changeset 2085 for Whitix/branches/netchannel/kernel/process.c
- Timestamp:
- 05/20/10 16:05:25 (2 years ago)
- Files:
-
- 1 modified
-
Whitix/branches/netchannel/kernel/process.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/netchannel/kernel/process.c
r2084 r2085 6 6 #include <i386/process.h> 7 7 #include <malloc.h> 8 #include <event.h> 8 9 #include <keobject.h> 9 10 #include <user_acc.h> 10 11 #include <print.h> 12 #include <timer.h> 11 13 #include <fs/icfs.h> 12 14 #include <fs/vfs.h> … … 236 238 237 239 repeat: 238 waitEntry.thread =currThread;240 waitEntry.thread = currThread; 239 241 WaitAddToQueue(¤t->waitQueue, &waitEntry); 240 ThrSuspendThread (currThread);242 ThrSuspendThreadInt(currThread); 241 243 ThrSchedule(); 244 245 if (EventWaiting(currThread)) 246 return -EINTR; 242 247 243 248 /* Is it the right one? */ … … 361 366 MmapProcessRemove(current); 362 367 LoadReleaseFsContext(); 368 TimerProcessRemove(current); 363 369 364 370 /* Now get rid of the memory manager - leaving kernel memory pages intact */
