[riot-commits] [RIOT-OS/RIOT] 5f29fe: core: introduce `msg_sent_by_int()`

Oleg Hahm oleg at hobbykeller.org
Fri Dec 19 11:56:05 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 5f29fed076b6830401281686093264493d4a448f
      https://github.com/RIOT-OS/RIOT/commit/5f29fed076b6830401281686093264493d4a448f
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-12-18 (Thu, 18 Dec 2014)

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

  Log Message:
  -----------
  core: introduce `msg_sent_by_int()`

msg_send_int() sets `m->sender_pid = target_pid`. This was used to flag a
message as having been sent by an ISR.

This PR introduces a static inline function `msg_sent_by_int()` and a
specific define for this purpose.


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

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

  Log Message:
  -----------
  Merge pull request #1791 from Kijewski/msg_send_int-typo

core: introduce `msg_sent_by_int()`


Compare: https://github.com/RIOT-OS/RIOT/compare/8f65d26769ee...bf525a57bf1c


More information about the commits mailing list