[riot-commits] [RIOT-OS/RIOT] 7e685d: Do not zero out sched_threads needlessly

Christian Mehlis mehlis at inf.fu-berlin.de
Sun Feb 16 11:37:05 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 7e685d6b366655851392950eae3fc74253ccb667
      https://github.com/RIOT-OS/RIOT/commit/7e685d6b366655851392950eae3fc74253ccb667
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M core/include/sched.h
    M core/kernel_init.c
    M core/sched.c

  Log Message:
  -----------
  Do not zero out sched_threads needlessly

The function sched_init() zeroes out sched_threads needlessly. All
static variables can be assumed to be initialized with zero, anyways.
The C standard mandates it, and all at other places in the code it is
assumed.


  Commit: 3dce0cbb97a9d41771fcfc1b0fc3c6c9b8ffed5a
      https://github.com/RIOT-OS/RIOT/commit/3dce0cbb97a9d41771fcfc1b0fc3c6c9b8ffed5a
  Author: Christian Mehlis <mehlis at inf.fu-berlin.de>
  Date:   2014-02-16 (Sun, 16 Feb 2014)

  Changed paths:
    M core/include/sched.h
    M core/kernel_init.c
    M core/sched.c

  Log Message:
  -----------
  Merge pull request #662 from Kijewski/remove-sched_init

Do not zero out sched_threads needlessly


Compare: https://github.com/RIOT-OS/RIOT/compare/7092ac629c40...3dce0cbb97a9


More information about the commits mailing list