1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2014, STMicroelectronics International N.V. 4 */ 5 6 #ifndef KERNEL_THREAD_DEFS_H 7 #define KERNEL_THREAD_DEFS_H 8 9 #define THREAD_FLAGS_COPY_ARGS_ON_RETURN (1 << 0) 10 #define THREAD_FLAGS_FOREIGN_INTR_ENABLE (1 << 1) 11 #define THREAD_FLAGS_EXIT_ON_FOREIGN_INTR (1 << 2) 12 13 #endif /*KERNEL_THREAD_DEFS_H*/ 14