ChibiOS/RT 7.0.5
chregistry.h File Reference

Threads registry macros and structures. More...

Go to the source code of this file.

Data Structures

struct  chdebug_t
 ChibiOS/RT memory signature record. More...

Macros

#define REG_HEADER(oip)
 Access to the registry list header.
#define REG_REMOVE(tp)
 Removes a thread from the registry list.
#define REG_INSERT(oip, tp)
 Adds a thread to the registry list.

Functions

thread_tchRegFirstThread (void)
 Returns the first thread in the system.
thread_tchRegNextThread (thread_t *tp)
 Returns the thread next to the specified one.
thread_tchRegFindThreadByName (const char *name)
 Retrieves a thread pointer by name.
thread_tchRegFindThreadByPointer (thread_t *tp)
 Confirms that a pointer is a valid thread pointer.
thread_tchRegFindThreadByWorkingArea (stkalign_t *wa)
 Confirms that a working area is being used by some active thread.
static void __reg_object_init (registry_t *rp)
 Initializes a registry.
static void chRegSetThreadName (const char *name)
 Sets the current thread name.
static const char * chRegGetThreadNameX (thread_t *tp)
 Returns the name of the specified thread.
static void chRegSetThreadNameX (thread_t *tp, const char *name)
 Changes the name of the specified thread.

Variables

ROMCONST chdebug_t ch_debug

Detailed Description

Threads registry macros and structures.

Definition in file chregistry.h.