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

12 Commits

Author SHA1 Message Date
Hauke Petersen
4216f9fef0 examples: adapted to renamed THREAD_FLAGS 2015-12-07 22:09:47 +01:00
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
2015-05-21 00:14:23 +02:00
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.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann
3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Ludwig Ortmann
1c825e2524 tests,examples: remove unneeded headers, fix style 2014-07-15 18:54:45 +02:00
René Kijewski
ba1a15535b core: remove extra thread_create_arg() function 2014-07-09 10:28:23 +02:00
Hauke Petersen
279b5cc5ca examples: adjusted output and README for IPC pingpong 2014-05-14 15:11:01 +02:00
Christian Mehlis
01fdbc3465 examples: make includes adhere to coding conventions 2014-03-24 11:08:42 +01:00
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.
2014-03-16 19:19:58 +01:00
Christian Mehlis
341b095acf added LGPL header and doxygen headers 2014-02-04 12:57:06 +01:00
Christian Mehlis
f00693255b examples: use astyle to adopt current code style guide 2014-01-29 16:54:20 +01:00
Oleg Hahm
1b1ca336f8 created examples folder with six apps 2014-01-06 10:10:47 +01:00