Skip to content

Comments

controller: remove RIOT specific initialization hack#367

Merged
andrzej-kaczmarek merged 2 commits intoapache:masterfrom
haukepetersen:fix_npl_riot_eventqinit
Mar 8, 2019
Merged

controller: remove RIOT specific initialization hack#367
andrzej-kaczmarek merged 2 commits intoapache:masterfrom
haukepetersen:fix_npl_riot_eventqinit

Conversation

@haukepetersen
Copy link
Member

We finally added some additional functionality to RIOT's event queue implementation to allow for thread context independent event queue implementation. With this, there is no need anymore to treat the event queue initialization in the controller differently then for other ports.

Only caveat: the code now depends on the fact, that the first call to ble_npl_eventq_get() must be done from the thread's context, that is supposed to host the targeted event queue. But this should be always the case anyway, right?

@andrzej-kaczmarek
Copy link
Contributor

yes, every call to get element from this queue will be done from ll_task only

@andrzej-kaczmarek andrzej-kaczmarek merged commit e1d3968 into apache:master Mar 8, 2019
@haukepetersen haukepetersen deleted the fix_npl_riot_eventqinit branch March 8, 2019 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants