ChibiOS
21.6.0
|
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) (&ch_system.reglist.queue) |
Access to the registry list header. More... | |
#define | REG_REMOVE(tp) (void) ch_queue_dequeue(&(tp)->rqueue) |
Removes a thread from the registry list. More... | |
#define | REG_INSERT(oip, tp) ch_queue_insert(REG_HEADER(oip), &(tp)->rqueue) |
Adds a thread to the registry list. More... | |
Functions | |
thread_t * | chRegFirstThread (void) |
Returns the first thread in the system. More... | |
thread_t * | chRegNextThread (thread_t *tp) |
Returns the thread next to the specified one. More... | |
thread_t * | chRegFindThreadByName (const char *name) |
Retrieves a thread pointer by name. More... | |
thread_t * | chRegFindThreadByPointer (thread_t *tp) |
Confirms that a pointer is a valid thread pointer. More... | |
thread_t * | chRegFindThreadByWorkingArea (stkalign_t *wa) |
Confirms that a working area is being used by some active thread. More... | |
static void | __reg_object_init (registry_t *rp) |
Initializes a registry. More... | |
static void | chRegSetThreadName (const char *name) |
Sets the current thread name. More... | |
static const char * | chRegGetThreadNameX (thread_t *tp) |
Returns the name of the specified thread. More... | |
static void | chRegSetThreadNameX (thread_t *tp, const char *name) |
Changes the name of the specified thread. More... | |
Threads registry macros and structures.
Definition in file chregistry.h.