[riot-commits] [RIOT-OS/RIOT] 5c9a97: core/msg: fix, optimize and improve

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Tue Jul 8 14:47:29 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 5c9a975afb106c33b9e7c0c585e298e6bebe18b4
      https://github.com/RIOT-OS/RIOT/commit/5c9a975afb106c33b9e7c0c585e298e6bebe18b4
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M core/include/msg.h
    M core/msg.c

  Log Message:
  -----------
  core/msg: fix, optimize and improve

fixes:
fix race conditions by reordering dINTs
prevent null pointer dereference by adding forgotten target check
add forgotten eINTs
replace printf with DEBUG
fix debug messages

optimizations:
optimize pid access
reorder msg_send switches

improvements:
add debug statements
add missing return value to msg_send_to_self documentation


  Commit: 0a6a83d6f339075af9b8ace7babd17fa9a3fd3b2
      https://github.com/RIOT-OS/RIOT/commit/0a6a83d6f339075af9b8ace7babd17fa9a3fd3b2
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-07-08 (Tue, 08 Jul 2014)

  Changed paths:
    M core/include/msg.h
    M core/msg.c

  Log Message:
  -----------
  Merge pull request #1285 from LudwigOrtmann/msg_fixup

core/msg: prevent null pointer dereference


Compare: https://github.com/RIOT-OS/RIOT/compare/65e240f9501a...0a6a83d6f339


More information about the commits mailing list