Giovanni Bajo

Results 153 comments of Giovanni Bajo

> Within kernal.h, the same concept is referred to as a message box, a mail box and as kmbox. I think a single name should be applied throughout. Libdragon usually...

> I've tried to look for things that might make the API a little easier to handle for a programmer new to low-level C programming. Absolutely! In the debugging library...

> > Within kernal.h, the same concept is referred to as a message box, a mail box and as kmbox. I think a single name should be applied throughout. Libdragon...

> Another idea: what about exposing a define to prevent the kernel checks? In case someone does not use it or provides their own alternative implementation. Done.

> Actually I was trying to reference `if (__kernel)`s but the ability to disable cookie checks is also a good idea :) Oh :) For that, I'd wait to see...

I've realized that this PR is missing the part about making newlib safe for threading. I think there are 3 things to do: 1. keep one copy of the reentrancy...

Status update: this PR would be ready to go. I'm going to test it on a real world scenario (the audio library -- creating a audio thread) before actually merging...

For now you can disable interrupts for that. But to do the audio thread support, I'll add proper preemption disable, which is actually quite easy to implement (i think).

I'm experimenting a bit with audio/video syncing. This PR works correctly in allowing a videoplayer to keep sync with audio even when it slows down. I would say in general...

It looks like I can't seem to find a good solution for this timeout. I have increased it again. @willis82 @command-tab can you maybe test it again? You can build...