1
0

proj/intercept.c: Add capability to show line numbers

This commit is contained in:
2025-05-05 20:31:11 +02:00
parent 439e5a87ae
commit ce43c286a3
3 changed files with 193 additions and 3 deletions

View File

@@ -37,6 +37,14 @@ void do_sem(void) {
}
}
for (int i = 0; i < 8; i++) {
if (i & 1) {
sem_post(&sem);
} else {
sem_post(&sem);
}
}
do_something();
sem_wait(&sem);