dacs_num_processes_supported

NAME

dacs_num_processes_supported - Return the number of processes that can be started on a DE.

SYNOPSIS

DACS_ERR_T dacs_num_processes_supported ( de_id_t de, uint32_t *num_processes )

Call parameter  
de The DE to query.
Return parameter  
*num_processes A pointer to a location where the maximum number of processes that can be started on this DE is stored.
Note: In SDK 3.0 only one process is supported per DE.

DESCRIPTION

The dacs_num_processes_supported service returns the number of simultaneous processes that can be started on the specified DE. The target DE must have been reserved by the caller.

RETURN VALUE

The dacs_num_processes_supported service returns an error indicator defined as:
  • DACS_SUCCESS: normal return.
  • DACS_ERR_INVALID_DE: the specified DE is either invalid or not reserved.
  • DACS_ERR_INVALID_ADDR: the pointer is invalid.
  • DACS_ERR_INVALID_TARGET: the operation is not allowed for the target de.

SEE ALSO

dacs_de_start(3), dacs_num_processes_running(3), dacs_de_wait(3), dacs_de_test(3)