You are browsing as a guest. Sign up (or log in) to start making projects!

2h 41m 21s logged

Mutexes

I implemented a simple mutex (which isn’t perfect yet, but it works). As visible on the screenshot, I used it to make it impossible for the test tasks to print at the same time. One problem with it is that it currently runs hlt after releasing a mutex so that a different task has a chance to acquire it, which doesn’t seem like the best solution to me.

Roadmap

I am making the terminal position atomic, so that I don’t need mutexes for output, which I can not use in interrupt handlers

0
15

Comments 0

No comments yet. Be the first!