1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core/include/flags.h
2014-10-09 06:18:16 +07:00

43 lines
1.0 KiB
C

/*
* Copyright (C) 2014 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. 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
#ifdef __cplusplus
extern "C" {
#endif
/**
* @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) */
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* _FLAGS_H */
/** @} */