Finalised docs

This commit is contained in:
Brychan Dempsey 2021-05-04 11:40:18 +12:00
parent 34af9e7527
commit af3df42591
2 changed files with 7 additions and 3 deletions

View File

@ -145,8 +145,6 @@ void print_at_xy(int x, int y, const char *s)
// Move cursor out of the way
gotoxy(42, NFLOORS + 2);
// flush the stream and release the semaphore
//fflush(stdout);
semaphore_signal(&printSemaphore);
}

View File

@ -14,4 +14,10 @@
### Other Changes:
1. Added a `POPULATION` preprocessor definition that will print the current counts of people on each floor, and the current floor positions of all people threads. Useful for detecting if someone is stuck.
2. Changed the speed settings to allow a wider range of debug values
2. Changed the speed definitions to allow a wider range of values
3. Added an explicit definition for `true` so that it may compile in Windows
i.e.
```c
#define true TRUE
```