1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
chrysn
982ec4dcda
gnrc_netreg: Use locks around netreg
This eliminates race conditions around unregistering netdevs.

gnrc_netreg_lookup-style functions perform a DEVELHELP check on whether
that lock is held.
2022-10-14 03:35:15 +02:00
Martine Lenders
2757f1d7dd Revert "unittests: adapt tests-netreg"
This reverts commit a7b7789388.
2018-02-22 20:29:55 +01:00
smlng
a7b7789388 unittests: adapt tests-netreg 2018-02-06 21:40:47 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Martine Lenders
0016463687 all: fix for new netreg_entry_t structure 2016-10-25 22:17:18 +02:00
Martine Lenders
dc45cd2610 gnrc: use new netreg helper functions everywhere 2016-10-25 18:47:30 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Martine Lenders
9a842d0526 unittests: move netreg entries out of stack space 2015-04-21 11:35:09 +02:00
Darredevil
130a861fbc unittests/tests-netreg: fixed header file include guard
fixes #2623
2015-03-22 16:37:04 +02:00
Philipp Rosenkranz
d5848d687c Merge pull request #2663 from phiros/unittests_constants_fix
unittests: move test data to common header
2015-03-22 14:48:07 +01:00
Philipp Rosenkranz
d53c7759e9 unittests: move test data to common header 2015-03-22 13:58:36 +01:00
Martine Lenders
fe5f8cc632 unittests: adapt unittests to netreg change 2015-03-20 11:00:32 +01:00
Martine Lenders
904b363b77 unittests: remove unnecessary MODULE macro definition 2015-03-04 18:07:03 +01:00
Martine Lenders
ec5f686cd0 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.
2015-03-04 13:17:00 +01:00
Martine Lenders
cd711ea934 unittests: add ng_netreg tests 2015-02-12 16:13:38 +01:00