mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
When gnrc_rpl_init was called from a thread with higher priority than the RPL thread, the initializer's call to gnrc_netreg_register would be executed before the event loop even had a chance to set up its message queue. The added short-lived lock makes it work from threads of any priority.