https://github.com/ARMmbed/sal-stack-nanostack-eventloop-mirror.git/#627b9769e352