libparanut
A Hardware Abstraction Layer for ParaNut Architectures.
Functions
pn_thread.c File Reference

Contains architecture independent implementations of the Thread Module functions. More...

#include "common.h"
Include dependency graph for pn_thread.c:

Functions

void pn_thread_entry ()
 Function that has to be called for CoPUs at the end of the startup code. More...
 
PN_CID pn_begin_threaded (PN_NUMC numcores)
 Puts numcores CPUs in threaded mode. More...
 
PN_CID pn_begin_threaded_m (PN_CMSK coremask)
 Puts the CPUs specified in the coremask in threaded mode. More...
 
PN_CID pn_begin_threaded_gm (PN_CMSK *coremask_array, PN_NUMG array_size)
 Puts the CPUs specified in the coremask_array in threaded mode. More...
 
int pn_end_threaded (void)
 Ends threaded execution. More...
 
PN_CMSK pn_run_threaded (PN_NUMC numcores, void(*function)(void *args, PN_CID cid), void *args)
 Excutes a given function on the CoPUs specified in numcores. More...
 
PN_CMSK pn_join_thread_m (PN_CMSK coremask, uint32_t timeout)
 Waits until a specified set of CePUs is stopped. More...
 

Detailed Description

Contains architecture independent implementations of the Thread Module functions.