Remove wrong sem_wait call
This commit is contained in:
@@ -188,9 +188,7 @@ int main(int argc, char *argv[])
|
|||||||
initCircBuf();
|
initCircBuf();
|
||||||
|
|
||||||
while (quit == 0) {
|
while (quit == 0) {
|
||||||
wait_sem(sUsedSpace);
|
|
||||||
getSolution(sUsedSpace, sFreeSpace);
|
getSolution(sUsedSpace, sFreeSpace);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup();
|
cleanup();
|
||||||
|
|||||||
Reference in New Issue
Block a user