|
Process-in-Process
|
Functions | |
| int | pip_get_pipid (int *pipidp) |
| get PiP ID of the calling task More... | |
| int | pip_is_initialized (void) |
| Query is PiP library is already initialized. More... | |
| int | pip_get_ntasks (int *ntasksp) |
| get the maximum number of the PiP tasks More... | |
| int | pip_get_mode (int *modep) |
| get the PiP execution mode More... | |
| const char * | pip_get_mode_str (void) |
| get a character string of the current execution mode More... | |
| int | pip_get_system_id (int pipid, pip_id_t *idp) |
| deliver a process or thread ID defined by the system More... | |
| int | pip_isa_root (void) |
| check if calling PiP task is a PiP root or not More... | |
| int | pip_isa_task (void) |
| check if calling PiP task is a PiP task or not More... | |
| int | pip_is_threaded (int *flagp) |
| check if PiP execution mode is pthread or not More... | |
| int | pip_is_shared_fd (int *flagp) |
check if file descriptors are shared or not. This is equivalent with the pip_is_threaded function. More... | |
| int pip_get_pipid | ( | int * | pipidp | ) |
| [out] | pipidp | This parameter points to the variable which will be set to the PiP ID of the calling task |
| EPERM | PiP library is not initialized yet |
| int pip_is_initialized | ( | void | ) |
| int pip_get_ntasks | ( | int * | ntasksp | ) |
| [out] | ntasksp | Maximum number of PiP tasks is returned |
| EPERM | PiP library is not yet initialized |
| int pip_get_mode | ( | int * | modep | ) |
| [out] | modep | Returned PiP execution mode |
| EPERM | PiP library is not yet initialized |
| const char* pip_get_mode_str | ( | void | ) |
NULL.| int pip_get_system_id | ( | int | pipid, |
| pip_id_t * | idp | ||
| ) |
pthread_t) associated with the PiP task This function can be used regardless to the PiP execution mode.| [out] | pipid | PiP ID of a target PiP task |
| [out] | idp | a pointer to store the ID value |
| EPERM | The PiP library is not initialized yet |
| int pip_isa_root | ( | void | ) |
| int pip_isa_task | ( | void | ) |
| int pip_is_threaded | ( | int * | flagp | ) |
| [out] | flagp | set to a non-zero value if PiP execution mode is Pthread |
| EPERM | The PiP library is not initialized yet |
| int pip_is_shared_fd | ( | int * | flagp | ) |
| [out] | flagp | set to a non-zero value if FDs are shared |
| EPERM | The PiP library is not initialized yet |
1.8.5