2013-11-27 16:28:31 +01:00
|
|
|
/*
|
2014-04-01 11:46:21 +02:00
|
|
|
* Copyright (C) 2014 Freie Universität Berlin
|
2010-09-22 15:10:42 +02:00
|
|
|
*
|
2013-11-22 20:47:05 +01:00
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser General
|
2013-06-18 17:21:38 +02:00
|
|
|
* Public License. See the file LICENSE in the top level directory for more
|
|
|
|
* details.
|
2013-11-27 16:28:31 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @addtogroup core_internal
|
2010-09-22 15:10:42 +02:00
|
|
|
* @{
|
2013-11-27 16:28:31 +01:00
|
|
|
*
|
|
|
|
* @file flags.h
|
|
|
|
* @brief Misc flag definitions
|
|
|
|
*
|
2014-01-28 11:50:12 +01:00
|
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
2010-09-22 15:10:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _FLAGS_H
|
|
|
|
#define _FLAGS_H
|
|
|
|
|
2014-04-01 11:46:21 +02:00
|
|
|
/**
|
|
|
|
* @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) */
|
|
|
|
/** @} */
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2014-04-01 11:46:21 +02:00
|
|
|
#endif /* _FLAGS_H */
|
2013-11-27 16:28:31 +01:00
|
|
|
/** @} */
|