Martin Woolley / microbit-dal

Dependencies:   BLE_API mbed-dev-bin nRF51822-bluetooth-mdw

Dependents:   microbit

Fork of microbit-dal-bluetooth-mdw_starter by Martin Woolley

Committer:
LancasterUniversity
Date:
Wed Jul 13 12:17:54 2016 +0100
Revision:
22:23d7b9a4b082
Parent:
1:8aa5cdb4ab67
Synchronized with git rev 7cf98c22
Author: James Devine
microbit-dal: patch for fiber_wake_on_event

fiber_wake_on_event used to crash after forking a FOB fiber.

It would attempt to obtain a new fiber context, and would place it on the wait queue.
Then when that fiber was paged in, the context of that fiber would not have been
initialised, as the function presumed schedule would be called immediately after
fiber initialisation.

This patch catches that edge case.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jonathan Austin 1:8aa5cdb4ab67 1 Joe Finney (@finneyj)
Jonathan Austin 1:8aa5cdb4ab67 2 James Devine (@jamesadevine)
Jonathan Austin 1:8aa5cdb4ab67 3 Martin Woolley (@bluetooth-mdw)
Jonathan Austin 1:8aa5cdb4ab67 4 Michał Moskal (@mmoskal)
Jonathan Austin 1:8aa5cdb4ab67 5 Robert May (@remay)
Jonathan Austin 1:8aa5cdb4ab67 6 Jonathan Protzenko (@msprotz)
Jonathan Austin 1:8aa5cdb4ab67 7 James Sheppard (@jamessheppard)
Jonathan Austin 1:8aa5cdb4ab67 8 Damien George (@dpgeorge)
Jonathan Austin 1:8aa5cdb4ab67 9 Mathew Else (@matthewelse)