mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7df411e7b7
improved files complient to issue #950 - thread.h - flags.h - debug.h - crash.h
35 lines
957 B
C
35 lines
957 B
C
/*
|
|
* Copyright (C) 2014 Freie Universität Berlin
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser General
|
|
* Public License. See the file LICENSE in the top level directory for more
|
|
* details.
|
|
*/
|
|
|
|
/**
|
|
* @addtogroup core_internal
|
|
* @{
|
|
*
|
|
* @file flags.h
|
|
* @brief Misc flag definitions
|
|
*
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
|
*/
|
|
|
|
#ifndef _FLAGS_H
|
|
#define _FLAGS_H
|
|
|
|
/**
|
|
* @name Optional flags for controlling a threads initial state.
|
|
* @{
|
|
*/
|
|
#define CREATE_SLEEPING (1) /**< set the new thread to sleeping */
|
|
#define AUTO_FREE (2) /**< currently not implemented */
|
|
#define CREATE_WOUT_YIELD (4) /**< do not automatically call thread_yield() after creation */
|
|
#define CREATE_STACKTEST (8) /**< write markers into the thread's stack to measure stack
|
|
usage (for debugging) */
|
|
/** @} */
|
|
|
|
#endif /* _FLAGS_H */
|
|
/** @} */
|