[riot-commits] [RIOT-OS/RIOT] ca8169: sys/include/xtimer.h: xtimer_mutex_lock_timeout() ...

Juan I Carrano noreply at github.com
Fri Aug 9 19:23:19 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ca8169f32346d79cec1d3d84332bdd08daf665bd
      https://github.com/RIOT-OS/RIOT/commit/ca8169f32346d79cec1d3d84332bdd08daf665bd
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M sys/include/xtimer.h

  Log Message:
  -----------
  sys/include/xtimer.h: xtimer_mutex_lock_timeout() change comment

removing line because core_thread_flags is not required


  Commit: a321dfc51dfc6d5c1d4441886a9206712cfbe489
      https://github.com/RIOT-OS/RIOT/commit/a321dfc51dfc6d5c1d4441886a9206712cfbe489
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-08-09 (Fri, 09 Aug 2019)

  Changed paths:
    M sys/xtimer/xtimer.c

  Log Message:
  -----------
  xtimer/xtimer.c: ensure modifing mutex is done with interrupt disabled

if xtimer_set spins the callback is executed in the thread context.

comment to explain irq_disable
and when this line could be removed
(when xtimer stops executing the callback funtion from thread context)


  Commit: 1bcb4fcc5facd79a5e91c2890512afa4dc8f56fb
      https://github.com/RIOT-OS/RIOT/commit/1bcb4fcc5facd79a5e91c2890512afa4dc8f56fb
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-08-09 (Fri, 09 Aug 2019)

  Changed paths:
    M sys/xtimer/xtimer.c

  Log Message:
  -----------
  xtimer/xtimer.c: _mutex_timeout improvements

Only yields and change threads status when thread was removed from mutex list.


  Commit: c1f58186cbb04c38c51dd5d5a3b37dd492f74b40
      https://github.com/RIOT-OS/RIOT/commit/c1f58186cbb04c38c51dd5d5a3b37dd492f74b40
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-08-09 (Fri, 09 Aug 2019)

  Changed paths:
    M sys/xtimer/xtimer.c

  Log Message:
  -----------
  xtimer/xtimer.c: sched_switch instead of yield

because of pr #11759: not all boards check for is_in_irq when thread_yield_higher


  Commit: b48afd6375df35fe19296a60cc9e6bda34da8923
      https://github.com/RIOT-OS/RIOT/commit/b48afd6375df35fe19296a60cc9e6bda34da8923
  Author: Juan I Carrano <j.carrano at fu-berlin.de>
  Date:   2019-08-09 (Fri, 09 Aug 2019)

  Changed paths:
    M sys/include/xtimer.h
    M sys/xtimer/xtimer.c

  Log Message:
  -----------
  Merge pull request #11807 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/first_fix_improvements

sys/xtimer/xtimer.c: _mutex_timeout() cleanup


Compare: https://github.com/RIOT-OS/RIOT/compare/e806d4bcbda2...b48afd6375df


More information about the commits mailing list