[riot-commits] [RIOT-OS/RIOT] 301d88: xtimer/xtimer.c document mutex_thread_t

Gaëtan Harter noreply at github.com
Wed Jun 26 16:27:43 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 301d88c04a7d4ba8c66fa884feeb761c55147082
      https://github.com/RIOT-OS/RIOT/commit/301d88c04a7d4ba8c66fa884feeb761c55147082
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-06-05 (Wed, 05 Jun 2019)

  Changed paths:
    M sys/xtimer/xtimer.c

  Log Message:
  -----------
  xtimer/xtimer.c document mutex_thread_t

comment for mutex_thread_t


  Commit: 1fff551d7c8d0353fd4962234885e7fb736a26e3
      https://github.com/RIOT-OS/RIOT/commit/1fff551d7c8d0353fd4962234885e7fb736a26e3
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-06-05 (Wed, 05 Jun 2019)

  Changed paths:
    M sys/xtimer/xtimer.c

  Log Message:
  -----------
  xtimer/xtimer.c: fix timeout is volatile

timeout is modified from interupt context so must be volatile


  Commit: f207c6adc6fb3020e0a76c91ef46cb586a6a8fb4
      https://github.com/RIOT-OS/RIOT/commit/f207c6adc6fb3020e0a76c91ef46cb586a6a8fb4
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-06-26 (Wed, 26 Jun 2019)

  Changed paths:
    A tests/xtimer_mutex_lock_timeout/Makefile
    A tests/xtimer_mutex_lock_timeout/main.c
    A tests/xtimer_mutex_lock_timeout/tests/01-run.py

  Log Message:
  -----------
  tests/xtimer_mutex_lock_timeout: minimal xtimer_mutex_lock_timeout test

Adding a first normal test case where the mutex is unlocked and the timeout is long.
The timer will not trigger in this test and instead wil be removed after getting the mutex.


  Commit: b3d2324ccfce8b80039977f4ae5f7ba8d2071437
      https://github.com/RIOT-OS/RIOT/commit/b3d2324ccfce8b80039977f4ae5f7ba8d2071437
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-06-26 (Wed, 26 Jun 2019)

  Changed paths:
    M tests/xtimer_mutex_lock_timeout/main.c
    M tests/xtimer_mutex_lock_timeout/tests/01-run.py

  Log Message:
  -----------
  tests/xtimer_mutex_lock_timeout: new test for mutex locked

New test function cmd_test_xtimer_mutex_lock_timeout_long_locked.
In this test the mutex is locked and the timeout is long.
When it works the thread continues running and stops waiting for the mutex and
the function will return that it did not get the mutex.


  Commit: eab0a8864250001567cb0cbfc1c5562ba09a3af2
      https://github.com/RIOT-OS/RIOT/commit/eab0a8864250001567cb0cbfc1c5562ba09a3af2
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-06-26 (Wed, 26 Jun 2019)

  Changed paths:
    M sys/xtimer/xtimer.c
    A tests/xtimer_mutex_lock_timeout/Makefile
    A tests/xtimer_mutex_lock_timeout/main.c
    A tests/xtimer_mutex_lock_timeout/tests/01-run.py

  Log Message:
  -----------
  Merge pull request #11679 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/first_tests

tests/xtimer_mutex_lock_timeout: add simple case test


Compare: https://github.com/RIOT-OS/RIOT/compare/76e9d089f5b4...eab0a8864250


More information about the commits mailing list