[riot-commits] [RIOT-OS/RIOT] cf683d: Fix thread_yield by avoiding the (too) early re-en...

Oleg Hahm oleg at hobbykeller.org
Fri Sep 12 20:14:19 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: cf683d9866cd12205a1882fceacd44a123e18ec3
      https://github.com/RIOT-OS/RIOT/commit/cf683d9866cd12205a1882fceacd44a123e18ec3
  Author: Kévin Roussel <Kevin.Roussel at inria.fr>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M cpu/msp430-common/cpu.c
    M cpu/msp430-common/include/cpu.h

  Log Message:
  -----------
  Fix thread_yield by avoiding the (too) early re-enablement of IRQ,
that is: before the newly selected thread's context is totally restored


  Commit: 3df5a2745f2535f95b80cbe9e3b12384051ace21
      https://github.com/RIOT-OS/RIOT/commit/3df5a2745f2535f95b80cbe9e3b12384051ace21
  Author: Kévin Roussel <Kevin.Roussel at inria.fr>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M cpu/msp430-common/cpu.c

  Log Message:
  -----------
  Prevent the compiler to add an unwanted prologue in thread_yield()


  Commit: 4421de003bfc3ccce77106c3074744b292af41d2
      https://github.com/RIOT-OS/RIOT/commit/4421de003bfc3ccce77106c3074744b292af41d2
  Author: Kévin Roussel <Kevin.Roussel at inria.fr>
  Date:   2014-08-29 (Fri, 29 Aug 2014)

  Changed paths:
    M cpu/msp430-common/cpu.c

  Log Message:
  -----------
  Fix the race condition when an interruption occured at the beginning
of thread_yield(), i.e.: just after SR(R2) was pushed but before
the rest of the suspended thread's context was pushed!


  Commit: a691d0798a1bdd7ff606f209d96d800013ab5085
      https://github.com/RIOT-OS/RIOT/commit/a691d0798a1bdd7ff606f209d96d800013ab5085
  Author: Kévin Roussel <Kevin.Roussel at inria.fr>
  Date:   2014-09-09 (Tue, 09 Sep 2014)

  Changed paths:
    M cpu/msp430-common/cpu.c
    M cpu/msp430-common/include/cpu.h

  Log Message:
  -----------
  Fixed comments


  Commit: fa8c70bbb830f6184de277d2723cd4e88bfc870c
      https://github.com/RIOT-OS/RIOT/commit/fa8c70bbb830f6184de277d2723cd4e88bfc870c
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-09-12 (Fri, 12 Sep 2014)

  Changed paths:
    M cpu/msp430-common/cpu.c
    M cpu/msp430-common/include/cpu.h

  Log Message:
  -----------
  Merge pull request #1618 from rousselk/msp430-fix-thread-yield

Fix thread_yield() on MSP430 platforms


Compare: https://github.com/RIOT-OS/RIOT/compare/d1406e1ea7a5...fa8c70bbb830


More information about the commits mailing list