TD2 I.6+ Implement thread counter
This commit is contained in:
parent
1a97a8aef5
commit
615d121a76
4 changed files with 26 additions and 9 deletions
|
@ -128,6 +128,11 @@ AddrSpace::AddrSpace (OpenFile * executable)
|
|||
|
||||
pageTable[0].valid = FALSE; // Catch NULL dereference
|
||||
|
||||
#ifdef CHANGED
|
||||
DEBUG('x', "Initialise thread counter\n");
|
||||
Threads = 1;
|
||||
#endif //CHANGED
|
||||
|
||||
AddrSpaceList.Append(this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue