Toshio Ito

Results 21 comments of Toshio Ito

OK, I'll try the option 1, and make a pull-request.

Looks like `ringbufindex` cannot solve this problem completely. `ringbufindex` can handle the race condition between a consumer and a producer, but it doesn't handle the race condition between producers (or...

Yes, that would solve the problem, and I'm ok with it. However, I don't know if crtical section is supported by all platforms. What I was thinking of in the...

Oh, and we will have to put a critical section in `process_post`, too, because `process_post` can preempt itself.

So, can I just use os/sys/critical or os/sys/mutex? Which one is better?

Sorry @alexrayne , which PR are you talking about by "this PR" in the first line in [your comment](https://github.com/contiki-ng/contiki-ng/issues/764#issuecomment-985985497)? And who is "you" in the last line?

Thanks for clarificaiton @alexrayne . The design you described in https://github.com/contiki-ng/contiki-ng/issues/764#issuecomment-985985497 would work. I just thought it would be more handy and safer if you could call `process_post` freely in...

Thanks for great work! I reviewed the code (https://github.com/yatch/contiki-ng/tree/9a285a08850c8f4a64542f5d9784b6630bf64169). Here are my comments. ## About `PACKETBUF_ATTR_PRIORITY` `PACKETBUF_ATTR_PRIORITY` attribute is added. 6P frames set this flag, and tsch-queue treats them prioritized....

I use the version with `2.0.0-rc1` tag (commit 0ccede621e56fb6f240e4850e205cde82d0e4a4b). I've never tested any other version. Note that when I used `2.0.0-rc1` between Feb and Apr 2022, it worked fine. So,...