TD2 I.5 first working version of Thread
Add semaphore to PutChar and GetChar
This commit is contained in:
parent
c4a2d25163
commit
6bd3e1338f
8 changed files with 95 additions and 4 deletions
|
@ -40,7 +40,9 @@ class AddrSpace:public dontcopythis
|
|||
unsigned blocksize);
|
||||
// Dump program layout as SVG
|
||||
unsigned NumPages() { return numPages; }
|
||||
|
||||
#ifdef CHANGED
|
||||
int AllocateUserStack();
|
||||
#endif
|
||||
private:
|
||||
NoffHeader noffH; // Program layout
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue