All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

#define AS_THREAD_NAME_MAX   16

Definition at line 26 of file as_thread.h.

Function Documentation

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.

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().