NAME

coreMultiCoreStop() -- stop a multicore processing element.


SYNOPSIS

include "appcore.h"

int coreMultiCoreStop( corehMCORE_t h )

DESCRIPTION

The coreMultiCoreStop() function is used to stop a multicore processing element. This function does not return until all threads have exited.


PARAMETERS

h
	Target multicore handle.

RETURN VALUE

If successful, coreMultiCoreStop() returns 0. On failure it returns a value of -1 and sets errno to one of the following:

errno ValueCondition
EINVALInvalid argument.
EIDRMThe handle is stale.

MULTI-THREAD SAFETY LEVEL

MT-safe.


SEE ALSO

Functions:
coreMultiCoreStart() coreMultiCoreDispatch() coreMultiCoreForward()