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
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.