gnrc_netreg: mbox and arbitrary callback support#5526
gnrc_netreg: mbox and arbitrary callback support#5526cgundogan merged 3 commits intoRIOT-OS:masterfrom
Conversation
|
The callback idea was mainly to have some experiments done (and maybe future option provided) to run GNRC in a single thread. |
|
And it can also be used to implement receive callbacks in |
c33ddbd to
4ff370c
Compare
|
Rebased to current master. |
5e4f6a5 to
fb93fae
Compare
|
Fixed some errors. |
6a613e7 to
313ca9d
Compare
|
Rebased to current dependencies |
880d9b3 to
b6c0c80
Compare
|
Rebased to current #5524 (as it is the only remaining dependency) and squashed. |
b6c0c80 to
ae85de7
Compare
|
Rebased to current #5524 and fixed a missing change. |
|
Quite a lot of changes, and I don't know gnrc well enough. Will reassign. |
|
Needed for #5772, so added to release. |
ae85de7 to
2fced10
Compare
|
Rebased to current #5526 |
Makefile.dep
Outdated
| USEMODULE += gnrc_udp | ||
| endif | ||
|
|
||
| ifneq (,$(filter gnrc_netreg_extra,$(USEMODULE))) |
There was a problem hiding this comment.
what was the idea behind the name gnrc_netreg_extra? I somehow fail to see the relation to what this PR actually does (add other dispatch capabilities with mbox, instead of threads)
There was a problem hiding this comment.
Well the _extra module pulls in the mbox and callback functionality.
There was a problem hiding this comment.
I can fix it up to devide it into two modules, but the complexity is growing in both instances.
There was a problem hiding this comment.
Introduced two pseudomodule with a better name.
|
looks valid to me, the only thing is the name of the |
haukepetersen
left a comment
There was a problem hiding this comment.
ACK once Murdock agrees
|
Oh, and of course once squashed and rebased... |
25d4472 to
8c7ce02
Compare
|
Rebased and squashed |
8c7ce02 to
0016463
Compare
|
Fixed issue in |
|
Murdock is happy => GO |
PR RIOT-OS#5526 introduced mbox support for netreg so using these functions is now required.
PR RIOT-OS#5526 introduced mbox support for netreg so using these functions is now required.
PR RIOT-OS#5526 introduced mbox support for netreg so using these functions is now required.
PR RIOT-OS#5526 introduced mbox support for netreg so using these functions is now required.
Adds dispatch capabilities to
gnrc_netapi/gnrc_netregother than target threads. This is optional behavior. The new target types introduced are:mbox(see core: mbox: initial commit #4919)TYPEandpktDepends on
#5524(merged),#5525(merged), and#4919(merged)