Oleg Hahm
bb35913840
core: assert correct msq queue size on creation
...
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
Oleg Hahm
57e9a25e2b
doc: a note about creating threads w/ same prio
2016-04-11 12:11:48 +02:00
Cenk Gündoğan
aa15ec59dc
Merge pull request #5275 from cgundogan/pr/cib/doc_fix
...
cib: doc fix
2016-04-11 07:39:30 +02:00
Cenk Gündoğan
2f21c623ab
core/thread_flags: remove superfluous bitarithm.h include
2016-04-10 13:01:19 +02:00
Cenk Gündoğan
2adc0eae75
cib: doc fix
2016-04-09 13:01:32 +02:00
Oleg Hahm
c09190b979
Merge pull request #3851 from kaspar030/make_messaging_optional
...
core: make messaging optional
2016-03-30 23:56:55 +02:00
58a12e5034
core: make messaging optional
2016-03-30 23:27:09 +02:00
46143c6bdc
core: thread_flags: optimize thread_flags_wait_one, fix doxygen
2016-03-30 17:11:49 +02:00
abff2e3fb7
core: introduce thread flags
2016-03-30 10:38:53 +02:00
f9f6adb48d
core: clist: make singly linked
2016-03-30 00:27:49 +02:00
f626ee5969
Merge pull request #4557 from kaspar030/introduce_intrusive_singly_linked_list
...
core: mutex: several optimizations
2016-03-29 22:25:43 +02:00
350c341ce1
core: mutex: use of intrusive linked list instead of priority queue
2016-03-29 21:50:17 +02:00
7c39134d5d
core: introduce intrusive singly linked list
2016-03-29 21:50:17 +02:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
Martine Lenders
5a415a91e2
Merge pull request #4052 from IldarValiev/patch-1
...
Added thread existence check at thread_wakeup
2016-03-16 12:19:08 +01:00
Joakim Nohlgård
0cf0278e0f
core/lpm.h: Fix Doxygen typo
2016-03-14 23:09:49 +01:00
cc1771787e
core: panic: use LOG_ERROR instead of printf
2016-03-11 00:42:11 +01:00
René Kijewski
818d703810
Merge pull request #5004 from OlegHahm/core_kernel_macros_attributs_merge
...
core: merge kernel_macros.h and attributes.h into kernel_defines.h
2016-03-10 16:47:10 +01:00
IldarValiev
475b1af26d
core: added assert to cib_init()
2016-03-10 13:32:00 +01:00
Oleg Hahm
bdcf8879fd
core: merged kernel_macros.h and attributes.h
...
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
IldarValiev
a8391e346e
core: added documentation to cib.h
...
size can be equal 0 or 2^n only. Because else mask won't consist of consecutive '1' only (e.g., 0b00111111) and functions cib_get() and cib_put() will return wrong values.
2016-03-09 01:53:12 +01:00
IldarValiev
4f5bea7d99
core: thread: Added stack size validation
2016-03-07 18:56:51 +05:00
IldarValiev
bad2b5c187
core: thread: Added validation of pid
2016-03-07 18:56:47 +05:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
Joakim Nohlgård
e088403ce0
Merge pull request #4082 from daniel-k/pr/msg_reply_missing_irq_restore
...
core/msg: add missing irq restoration in msg_reply()
2016-03-04 15:59:06 +01:00
Oleg Hahm
76c397f252
Merge pull request #4924 from kaspar030/smaller_core_types
...
core: reduce types of tcb->status and tcb->priority
2016-03-02 11:15:38 +01:00
daniel-k
4295d028ec
core/msg_reply: only assert target tcb, no error handling
2016-03-01 21:34:01 +01:00
a8865a2808
core: reduce types of tcb->status and tcb->priority
2016-02-29 01:48:08 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
bdfc76a052
core: msg: fix msg_try_receive not checking msg_waiters
2016-02-23 14:43:42 +01:00
Martine Lenders
c9f05efbb7
doc: atomic: provide explanation about why atomic_int_t is struct
...
See also https://github.com/RIOT-OS/RIOT/pull/2321#issuecomment-72088818
2016-02-16 13:43:10 +01:00
Hauke Petersen
35eb99a46e
Merge pull request #3984 from kaspar030/simplify_reboot
...
core: cpu: sys: simplify reboot()
2016-01-29 14:24:08 +01:00
938ff5c5e7
core: cpu: sys: simplify reboot()
2016-01-27 13:30:01 +01:00
Martine Lenders
febcac6d43
core: add capability to output message queue
2016-01-23 15:33:48 +01:00
1d22374196
Merge pull request #4475 from authmillenon/doc/enh/msg
...
core: msg: update detail section on IPC
2015-12-16 23:00:15 +01:00
Martine Lenders
49167a4b7d
core: msg: piggy-back some style fixes by uncrustify
2015-12-15 17:10:17 +01:00
Martine Lenders
512448ba12
core: msg: update detail section on IPC
2015-12-15 11:46:47 +01:00
64674d21d5
core: irq.h: remove dINT/eINT traces
2015-12-14 21:34:35 +01:00
Hauke Petersen
cf53aeddd8
Merge pull request #4382 from haukepetersen/rm_core_flagsh
...
core: move thread flags from flags.h to thread.h
2015-12-08 11:36:43 +01:00
Hauke Petersen
22428f6cfb
core: adapted to renamed THREAD_FLAGS
2015-12-07 22:09:46 +01:00
Hauke Petersen
7dcb40b46a
core/thread.h: renamed thread creation flags
2015-12-07 22:09:46 +01:00
Hauke Petersen
7f5ab0cd5f
core: moved flags.h to thread.h
2015-12-07 22:09:46 +01:00
Oleg Hahm
a82835a72b
core: mute compiler warning
2015-12-07 20:28:52 +01:00
Oleg Hahm
6de92b0843
Merge pull request #4378 from haukepetersen/fix_core_includeguards
...
core: fixed include guards a minor style/doxygen
2015-12-07 11:33:31 +01:00
René Kijewski
0906c729a4
Merge pull request #4379 from haukepetersen/fix_core_doc
...
core/atomic.h: fix doxygen to get rid of warning
2015-12-02 11:35:32 +01:00
Hauke Petersen
0f43fb9023
core/atomic.h: fix doxygen to get rid of warning
2015-12-02 11:14:07 +01:00
Hauke Petersen
f326beb3f7
core/native_sched.h: style and doxygen fixes
2015-12-02 11:11:00 +01:00
Hauke Petersen
6fc26f8d18
core: fixed include guards for selected headers
2015-12-02 11:08:23 +01:00
Oleg Hahm
349d333ede
Merge pull request #3997 from DipSwitch/core_msg_avail_support
...
core: add support to see if there are messages available for the curr…
2015-12-02 11:07:17 +01:00