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

treewide: clean up remnants of THREAD_CREATE_STACKTEST

This commit is contained in:
Benjamin Valentin 2024-10-07 17:31:31 +02:00
parent 4b36bb6098
commit 97128eef48
3 changed files with 4 additions and 4 deletions

View File

@ -640,8 +640,8 @@ static inline const char *thread_get_name(const thread_t *thread)
/**
* @brief Measures the stack usage of a stack
*
* @pre Only works if the thread was created with the flag
* `THREAD_CREATE_STACKTEST`.
* @pre Does not work if the thread was created with the flag
* `THREAD_CREATE_NO_STACKTEST`.
*
* @param[in] thread The thread to measure the stack of
*

View File

@ -57,7 +57,7 @@ static void *_forward_proxy_thread_start(void *arg)
void gcoap_forward_proxy_thread_init(void)
{
forward_proxy_pid = thread_create(_forward_proxy_thread, sizeof(_forward_proxy_thread),
THREAD_PRIORITY_MAIN - 1, THREAD_CREATE_STACKTEST,
THREAD_PRIORITY_MAIN - 1, 0,
_forward_proxy_thread_start, NULL, "gcoap proxy");
if (forward_proxy_pid <= KERNEL_PID_UNDEF) {
DEBUG_PUTS("gcoap_forward_proxy_thread_init(): thread_create failed\n");

View File

@ -130,7 +130,7 @@ static int print_periodic(int argc, char **argv)
_periodic_ctx.period_ms = 500;
thread_create(_stack, sizeof(_stack), THREAD_PRIORITY_MAIN, THREAD_CREATE_STACKTEST,
thread_create(_stack, sizeof(_stack), THREAD_PRIORITY_MAIN, 0,
_func, NULL, "periodic");
return 0;