Finalised docs
This commit is contained in:
parent
34af9e7527
commit
af3df42591
@ -145,8 +145,6 @@ void print_at_xy(int x, int y, const char *s)
|
|||||||
|
|
||||||
// Move cursor out of the way
|
// Move cursor out of the way
|
||||||
gotoxy(42, NFLOORS + 2);
|
gotoxy(42, NFLOORS + 2);
|
||||||
// flush the stream and release the semaphore
|
|
||||||
//fflush(stdout);
|
|
||||||
semaphore_signal(&printSemaphore);
|
semaphore_signal(&printSemaphore);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,4 +14,10 @@
|
|||||||
### Other Changes:
|
### 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.
|
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
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user