Loading...
Searching...
No Matches
Macros | Functions
as_thread.h File Reference
#include <pthread.h>
#include <stdio.h>
+ Include dependency graph for as_thread.h:

Go to the source code of this file.

Macros

#define AS_THREAD_NAME_MAX   16
 

Functions

static void as_thread_set_name (const char *name)
 
static void as_thread_set_name_index (const char *name, uint32_t index)
 

Macro Definition Documentation

◆ AS_THREAD_NAME_MAX

#define AS_THREAD_NAME_MAX   16

Definition at line 26 of file as_thread.h.

Function Documentation

◆ as_thread_set_name()

static void as_thread_set_name ( const char * name)
inlinestatic

Assign thread name. Must be called in the thread to be named.

Definition at line 32 of file as_thread.h.

◆ as_thread_set_name_index()

static void as_thread_set_name_index ( const char * name,
uint32_t index )
inlinestatic

Assign thread name with index suffix. Must be called in the thread to be named.

Definition at line 45 of file as_thread.h.

References AS_THREAD_NAME_MAX, and as_thread_set_name().