Go to the documentation of this file.
52 #if (CH_CFG_USE_REGISTRY == TRUE) || defined(__DOXYGEN__)
84 (uint8_t)
sizeof (
void *),
92 #if (CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE)
99 #if CH_CFG_USE_DYNAMIC == TRUE
137 #if CH_CFG_USE_DYNAMIC == TRUE
167 #if CH_CFG_USE_DYNAMIC == TRUE
169 uint8_t *p = (uint8_t *)nqp;
180 #if CH_CFG_USE_DYNAMIC == TRUE
209 }
while (ctp != NULL);
236 }
while (ctp != NULL);
241 #if (CH_DBG_ENABLE_STACK_CHECK == TRUE) || (CH_CFG_USE_DYNAMIC == TRUE) || \
265 }
while (ctp != NULL);
ch_queue_t * next
Next in the list/queue.
ch_priority_queue_t pqueue
Threads ordered queues element.
port_stkalign_t stkalign_t
#define currcore
Access to current core's instance structure.
#define CH_CFG_TIME_QUANTUM
Round robin interval.
thread_t * chRegFindThreadByName(const char *name)
Retrieves a thread pointer by name.
#define CH_KERNEL_MAJOR
Kernel version major number.
uint64_t systime_t
Type of system time.
#define __CH_OFFSETOF(st, m)
Structure field offset utility.
#define chDbgAssert(c, r)
Condition assertion.
static const char * chRegGetThreadNameX(thread_t *tp)
Returns the name of the specified thread.
thread_t * chRegFindThreadByPointer(thread_t *tp)
Confirms that a pointer is a valid thread pointer.
static stkalign_t * chThdGetWorkingAreaX(thread_t *tp)
Returns the working area base of the specified thread.
trefs_t refs
References to this thread.
Structure representing a thread.
thread_t * chRegFindThreadByWorkingArea(stkalign_t *wa)
Confirms that a working area is being used by some active thread.
struct ch_thread thread_t
Type of a thread structure.
#define CH_KERNEL_MINOR
Kernel version minor number.
Structure representing a generic bidirectional linked list header and element.
#define ROMCONST
ROM constant modifier.
thread_t * chRegFirstThread(void)
Returns the first thread in the system.
ch_queue_t rqueue
Registry queue element.
#define REG_HEADER(oip)
Access to the registry list header.
#define CH_DBG_THREADS_PROFILING
Debug option, threads profiling.
#define CH_KERNEL_PATCH
Kernel version patch number.
thread_t * chRegNextThread(thread_t *tp)
Returns the thread next to the specified one.
tprio_t prio
Priority of this element.
#define TRUE
Generic 'true' preprocessor boolean constant.
void chThdRelease(thread_t *tp)
Releases a reference to a thread object.
ChibiOS/RT memory signature record.
#define chSysUnlock()
Leaves the kernel lock state.
#define chSysLock()
Enters the kernel lock state.