[riot-commits] [RIOT-OS/RIOT] ec5f68: netreg: move to pointer-based API

Lotte Steenbrink lotte at zombietetris.de
Wed Mar 4 15:33:17 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: ec5f686cd0c2b23a1236e6a3c12392378cde199e
      https://github.com/RIOT-OS/RIOT/commit/ec5f686cd0c2b23a1236e6a3c12392378cde199e
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M sys/include/net/ng_netreg.h
    M sys/net/crosslayer/ng_netreg/ng_netreg.c
    M tests/unittests/tests-netreg/tests-netreg.c

  Log Message:
  -----------
  netreg: move to pointer-based API

Moving to a pointer-based API simplifies a lot, since there is no need
for an internal pool of entries anymore. Therefore, a lot of
organizational overhead and some restrictions (e.g. an upper limit on
entries) are dropped.

The entries can be stored in the stack of the respective thread.


  Commit: 1793eb7ec83ea3293719723e11083d0460a74ec4
      https://github.com/RIOT-OS/RIOT/commit/1793eb7ec83ea3293719723e11083d0460a74ec4
  Author: Lotte Steenbrink <lotte at zombietetris.de>
  Date:   2015-03-04 (Wed, 04 Mar 2015)

  Changed paths:
    M sys/include/net/ng_netreg.h
    M sys/net/crosslayer/ng_netreg/ng_netreg.c
    M tests/unittests/tests-netreg/tests-netreg.c

  Log Message:
  -----------
  Merge pull request #2450 from authmillenon/netreg/api/pointer-based

RFC: netreg: move to pointer-based API


Compare: https://github.com/RIOT-OS/RIOT/compare/023fef4d1ca9...1793eb7ec83e


More information about the commits mailing list