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

1066 Commits

Author SHA1 Message Date
René Kijewski
f23dab96d2 sys: rename ringbuffer functions
Closes #1011.
2014-05-03 16:39:39 +02:00
BytesGalore
f4a994ac89 Merge pull request #1076 from BytesGalore/remove_return_from_noreturn_function
sys:posix:pthread removed explicit `return;` from `pthread_exit()`
2014-04-30 07:50:32 +02:00
Martin
fc532ad891 added else branch in pthread_exit() to avoid calling explicit return;
however, this won't help to completely eliminate the warning on returning from a `noreturn` function
2014-04-30 07:22:48 +02:00
Martin
619039e0e2 add pthread condition variable implementation 2014-04-29 18:39:03 +02:00
Christian Mehlis
72036742d8 Merge pull request #1063 from Kijewski/shell_command_t-fix-const
shell: strings in shell_command_t are const
2014-04-28 14:07:36 +02:00
René Kijewski
07cc72576e shell: Comment internal members, too
Closes #979.
2014-04-28 10:41:48 +02:00
René Kijewski
4ed38bd2f3 shell: strings in shell_command_t are const 2014-04-27 14:37:54 +02:00
BytesGalore
9d4d98c9ea Merge pull request #1025 from BytesGalore/add_out_of_bounds_check
sys:posix:pthread added check to avoid array out of bound access
2014-04-25 18:00:07 +02:00
Martin
345e76a0d7 added check to avoid array out of boud access 2014-04-25 17:57:41 +02:00
Christian Mehlis
1e9b9ed0bd Merge pull request #917 from fabianbrandt/rpl_config_split
Splitting rpl_structs.h into structs and config part
2014-04-25 11:42:27 +02:00
Fabian Brandt
85d8cd8e0a Four macros changed to static inline type functions and style fixes 2014-04-25 11:40:22 +02:00
Christian Mehlis
f04007e15f Merge pull request #918 from fabianbrandt/etx_now_routing
ETX-functionality is now part of a common routing-module
2014-04-25 11:33:02 +02:00
Fabian Brandt
ef5eaff1bc ETX-functionality is now part of a common routing-module 2014-04-25 11:30:28 +02:00
Fabian Brandt
2634b3c400 Splitting rpl_structs.h into structs and config part 2014-04-25 11:04:52 +02:00
Christian Mehlis
dcabf10fcb ccnl: appserver: remove unused flag 2014-04-25 09:13:01 +02:00
Christian Mehlis
13b38a46ac ccnl: don't include c files
this fixes a build problem on
debian and ubuntu based systems
2014-04-25 01:48:54 +02:00
Thomas Eichinger
d89faccc78 Merge pull request #1031 from LudwigOrtmann/issue_676
redbee-econotag: fix maca
2014-04-24 10:19:22 +02:00
Christian Mehlis
c1f0ef9fbe Merge pull request #1037 from Kijewski/issue-577
shell: Add doxygen
2014-04-22 16:59:08 +02:00
René Kijewski
14401ede42 shell: Add doxygen
Closes #577.
2014-04-22 08:03:15 +02:00
Christian Mehlis
206e6688a7 ccnl: find bogus looping content 2014-04-19 21:09:12 +02:00
René Kijewski
9a5a8a2452 Add pthread_rwlock test 2014-04-18 16:26:12 +02:00
René Kijewski
10d36df795 pthread: implement reader/writer lock 2014-04-18 16:20:47 +02:00
René Kijewski
542a2e5d9d Merge pull request #995 from Kijewski/issue-993
Make: exterminate 'clean' buildtarget clutter
2014-04-18 16:11:15 +02:00
René Kijewski
72df45ea02 Merge pull request #1017 from Kijewski/issue-980
documentation: Add missing documentation for pthread functions and structures
2014-04-18 16:08:06 +02:00
Ludwig Ortmann
3a1980af36 redbee-econotag: fix maca
I suspect that the transceiver will still not work as there are many
many warnings, but at least it builds now.

closes: #676
2014-04-18 16:05:23 +02:00
Christian Mehlis
1bc74f4fef Merge pull request #1001 from mehlis/ccnl-defaulttransceiver
ccnl: use default transceiver
2014-04-18 15:12:09 +02:00
Christian Mehlis
dcf4c3a80e Merge pull request #1021 from Kijewski/vtimer_now-no-16bit-overflow
vtimer: fix integer overflow in vtimer_now() for MSP-430
2014-04-18 12:00:27 +02:00
Christian Mehlis
c2846a07b9 ccnl: use default transceiver 2014-04-18 11:45:53 +02:00
René Kijewski
3101083f13 pthread: fix spinlock 2014-04-18 03:19:31 +02:00
René Kijewski
3e6bebadd3 Add missing doxygen for pthread funs and structs 2014-04-18 03:19:31 +02:00
René Kijewski
f2e28c8146 Merge pull request #1016 from BytesGalore/fix_cpp_pthread_id
posix:pthread c++11 changed pthread_self() to return thread IDs > 0
2014-04-17 16:44:43 +02:00
René Kijewski
77c296cf59 vtimer: fix integer overflow in vtimer_now() for MSP-430 2014-04-17 14:46:21 +02:00
Martin
e159d0b38a changed return value to 0 on lookup fail in pthread_self() 2014-04-17 14:31:36 +02:00
Martine Lenders
0e4d2909a6 Merge pull request #830 from authmillenon/fix_test_pnet
tests: Fix test_pnet
2014-04-17 01:40:27 +02:00
Martin Lenders
4e1da23817 Fix test_pnet
fixes #829
2014-04-16 17:44:46 +02:00
Martin
f3566f0b8a changed pthread_self() to return thread IDs > 0 2014-04-16 17:31:47 +02:00
Christian Mehlis
65bd8f03c1 ccnl: remove useless compare
This compare is useless for CCN lite in RIOT, because
a face has always an interface with index >= 0
2014-04-14 00:08:44 +02:00
Christian Mehlis
987f2576e0 ccnl: LRU is the replacement strategy, rename variable to express this 2014-04-11 11:53:03 +02:00
René Kijewski
300d6b3e35 Make: exterminate 'clean' buildtarget
Closes #993.

We do not need to descend into the modules to know what to do on
`make clean BOARD=blub`. We can just invoke `rm -rf bin/blub`.

This PR only keeps the descending into the USEPKGs, since they might
want to delete cached/downloaded/extracted data.
2014-04-09 23:07:52 +02:00
Martin Lenders
9ee7956e53 Fix length of fragmentation buffer in 6LoWPAN 2014-04-09 16:07:46 +02:00
Martine Lenders
139da0a5b4 Merge pull request #873 from OlegHahm/on_link_check
net: sixlowpan: removing possible invalid check
2014-04-09 16:02:56 +02:00
Oleg Hahm
8a86f493b4 Merge pull request #821 from Kijewski/pthrad_cleanup
posix: Add pthread_cleanup handlers
2014-04-09 00:19:17 +02:00
Oleg Hahm
786cd0a5f7 Merge pull request #986 from Kijewski/a-minor-fix-for-issue-672-not-everything-but-better-than-nothing-i-guess-or-what-do-you-think
make: replace findstring with filter in sys/Makefile
2014-04-09 00:16:26 +02:00
Oleg Hahm
56c5df7097 Merge pull request #813 from Kijewski/add-pthread_barrier
posix: Add `pthread_barrier_*` functions
2014-04-09 00:08:23 +02:00
René Kijewski
fbc4531877 make: replace findstring with filter in sys/Makefile 2014-04-08 19:25:51 +02:00
René Kijewski
eaca16d07a Add pthread_barrier_t documentation 2014-04-06 19:25:15 +02:00
René Kijewski
9202a482d5 Add pthread_barrier_* functions
Compare [`pthread_barrier_init`][1].

  [1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_barrier_init.html
2014-04-06 19:25:15 +02:00
Martin Lenders
d9fdbca9de Fix dereferencing of type-punned pointer
Fixes #897
2014-04-05 20:42:08 +02:00
René Kijewski
b44b88a6ed pthread_cleanup: better documentation 2014-04-04 18:03:29 +02:00
René Kijewski
b54962689a posix: Add pthread_cleanup handlers
With `pthread_cleanup_(push|pop)` you can define a function that should
be ran if the thread is exited while it is inside this scope. A thread
can be ended here through an explicit call to `pthread_exit()`, or if
cancellation was requested and a cancellation point was hit.

`pthread_cleanup_*` is mostly only useful together with cancellation
points, and cancellation points are only useful with a cleanup
functionality. Cancellation points are at least partially implemented by
means of `pthread_testcancel()`.

C.f. ["Cancellation Points"][1].

  [1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_05_02
2014-04-04 18:03:29 +02:00