Hi, On Tue, Feb 10, 2015 at 02:08:08PM +0530, shishir tiwari wrote: > So to put it short: in cpu_switch_context_exit() you simply must load > the main threads context into the CPUs register and point the stack > pointer to the main threads stack.
That's not entirely accurate. You need to call `sched_run` and load the context of `sched_active_thread`. Cheers, Ludwig _______________________________________________ devel mailing list [email protected] http://lists.riot-os.org/mailman/listinfo/devel
