Commit Graph

9 Commits (5dc146269dcb8269358b35f58589ad2ac33fb762)

Author SHA1 Message Date
Kaspar Schleiser e8927388d3 tests: msg_send_receive: fix "sent ptr goes out of scope" bug 7 years ago
Kaspar Schleiser 7718f114cb all: remove pointer casts for msg.content.ptr 7 years ago
Oleg Hahm 0ab1d4bed1 tests: swap thread priorities in msg_snd_rcv test
c3f7925c1c was the wrong fix for the described problem. The replying thread 2 needs a higher priority because otherwise the sender thread 1 may send before 2 is in receiving mode again.
7 years ago
Oleg Hahm c3f7925c1c tests: msg_send_receive: add a delay
Otherwise the pre-condition (receiver is already in RX block) is not met.
8 years ago
Oleg Hahm de74a64e8a tests: msg_send_receive: use correct stack sizes 8 years ago
Hauke Petersen 9943f51080 global: renamed cpu-conf.h into cpu_conf.h 8 years ago
Lucas Jenss 426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
8 years ago
Martine Lenders 0eb2d78dda doc: use my real name 8 years ago
Martine Lenders 30c7f37e68 tests: Add automatic test for msg_send_receive 9 years ago