ITK Function Reference

(V10000.1.0.60_20160308.00)
Typedefs | Functions
Process Management

Typedefs

typedef void *(* PM_HandlerFp )(void *)
 

Functions

TC_API void * PM_get_args (void **args)
 
TC_API int PM_put_args (void *value, int size, void **args)
 
TC_API int PM_start_process (const char *symbol, void **input, PM_HandlerFp handler, void *handler_args, SS_pid *pid)
 
TC_API void * PM_view_args (int pos, void *args)
 

Detailed Description

Typedef Documentation

typedef void*(* PM_HandlerFp)(void *)

Definition at line 25 of file prm.h.

Function Documentation

TC_API void* PM_get_args ( void **  args)

Gets the first argument from the argument list.

Parameters
args(O)
TC_API int PM_put_args ( void *  value,
int  size,
void **  args 
)

Puts the args at the end of the argument list.

Parameters
value(I)
size(I)
args(I)
TC_API int PM_start_process ( const char *  symbol,
void **  input,
PM_HandlerFp  handler,
void *  handler_args,
SS_pid pid 
)

Starts the process for a specified symbol with input as arguments to the symbol. The handler is a pointer to a function, with handler_args as arguments, to be called once the process is finished executing. The pid is the process ID of the process.

Parameters
symbol(I)
input(I)
handler(I)
handler_args(I)
pid(I)
TC_API void* PM_view_args ( int  pos,
void *  args 
)

Returns a pointer to an argument in the argument list at a specified position.

Parameters
pos(I)
args(I)