Commit Graph

12 Commits (a188d7670b0a133c8fd15483d510e7247f7f12a6)

Author SHA1 Message Date
Hauke Petersen 4216f9fef0 examples: adapted to renamed THREAD_FLAGS 7 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
Oleg Hahm 983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
9 years ago
Ludwig Ortmann 3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 9 years ago
Ludwig Ortmann 1c825e2524 tests,examples: remove unneeded headers, fix style 9 years ago
René Kijewski ba1a15535b core: remove extra thread_create_arg() function 9 years ago
Hauke Petersen 279b5cc5ca examples: adjusted output and README for IPC pingpong 9 years ago
Christian Mehlis 01fdbc3465 examples: make includes adhere to coding conventions 9 years ago
Oleg Hahm e6241b13de ipc_pingpong: start receiving thread immediately
Rationale: When using `msg_send_receive()` the receiving thread needs to
be already in receiving mode.
9 years ago
Christian Mehlis 341b095acf added LGPL header and doxygen headers 9 years ago
Christian Mehlis f00693255b examples: use astyle to adopt current code style guide 9 years ago
Oleg Hahm 1b1ca336f8 created examples folder with six apps 9 years ago