Truxton set black box thread type

From truxwiki.com
Jump to navigation Jump to search

This function sets the type of thread in the Black Box.

Syntax

void truxton_set_black_box_thread_type( uint64_t thread_type );

Parameters

thread_type

A value you create to represent the type of thread.

Sample

#define MAIN_THREAD (0x1122334455)

int main( void )
{
   truxton_set_black_box_thread_type( MAIN_THREAD );
   
   doit();

   return( 0 );
}