r6:API:Abstraction (test)

From liblfds.org
Jump to: navigation, search

Source Files

/test/src/abstraction_cpu_count.c
/test/src/abstraction_thread_start.c
/test/src/abstraction_thread_wait.c
/test/src/abstraction.h

Prototypes

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 );

Typedefs

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

Defines

#define CALLING_CONVENTION  [calling convention]

Overview

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.