[riot-commits] [RIOT-OS/RIOT] d76bb6: sys/posix/pthread/pthread.c: pthread_create fix

Juan I Carrano noreply at github.com
Wed Sep 11 18:22:57 CEST 2019


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

  Changed paths:
    M sys/posix/pthread/pthread.c

  Log Message:
  -----------
  sys/posix/pthread/pthread.c: pthread_create fix

The function insert returns KERNEL_PID_UNDEF now because pthread_create checks for it.
In pthread_create it checks now if thread_create returns a valid pid


  Commit: 984eb7cd6c2872f3204c51168945a79dca6a067e
      https://github.com/RIOT-OS/RIOT/commit/984eb7cd6c2872f3204c51168945a79dca6a067e
  Author: JulianHolzwarth <julian.holzwarth at fu-berlin.de>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

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

  Log Message:
  -----------
  tests/pthread_flood: test for max pthread creation


  Commit: 00e0a1cf13e4903d47289ef9302f10cee2b406a9
      https://github.com/RIOT-OS/RIOT/commit/00e0a1cf13e4903d47289ef9302f10cee2b406a9
  Author: Juan I Carrano <j.carrano at fu-berlin.de>
  Date:   2019-09-11 (Wed, 11 Sep 2019)

  Changed paths:
    M sys/posix/pthread/pthread.c
    A tests/pthread_flood/Makefile
    A tests/pthread_flood/main.c
    A tests/pthread_flood/tests/01-run.py

  Log Message:
  -----------
  Merge pull request #12056 from JulianHolzwarth/pr/posix/pthread/small_insert_fix

sys/posix/pthread/pthread.c: fix thread count limiting in pthread_create()


Compare: https://github.com/RIOT-OS/RIOT/compare/b14e08cce1d0...00e0a1cf13e4


More information about the commits mailing list