r6:API:Abstraction (test)

From liblfds.org
Jump to navigation Jump to search

Source Files



unsigned int abstraction_cpu_count( void );
int abstraction_thread_start( thread_state_t *thread_state, unsigned int cpu, thread_function_t thread_function, void *thread_user_state );
void abstraction_thread_wait( thread_state_t thread_state );


typedef [type]  thread_state_t;
typedef [type]  thread_return_t;


#define CALLING_CONVENTION  [calling convention]


This API is not a data structure. It is the abstraction layer for the test program, which must be implemented on a given platform for the test program to compile and run on that platform.

Please read the porting guide for detailed instructions.