update PrintInt and change PutString to PutInt
This commit is contained in:
@@ -107,10 +107,10 @@ SynchConsoleOutput::PutChar(char ch)
|
||||
}
|
||||
|
||||
void
|
||||
SynchConsoleOutput::PutString(char *str)
|
||||
SynchConsoleOutput::PutInt(int value)
|
||||
{
|
||||
lock->Acquire();
|
||||
consoleOutput->PutString(str);
|
||||
consoleOutput->PutInt(value);
|
||||
waitFor->P();
|
||||
lock->Release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user