TD2 I.6+ Implement thread counter

This commit is contained in:
Yorick Barbanneau 2021-11-16 21:51:00 +01:00
parent 1a97a8aef5
commit 615d121a76
4 changed files with 26 additions and 9 deletions

View file

@ -41,6 +41,7 @@ class AddrSpace:public dontcopythis
// Dump program layout as SVG
unsigned NumPages() { return numPages; }
#ifdef CHANGED
int Threads; // count number of threads into address space
int AllocateUserStack();
#endif
private: