Process-in-Process
 All Functions Groups Pages
Functions
BLT/ULP Coupling/Decoupling Functions

Functions

int pip_couple (void)
 Couple the curren task with the original kernel thread. More...
 
int pip_decouple (pip_task_t *task)
 Decouple the curren task from the kernel thread. More...
 

Detailed Description

BLT/ULP coupling/decoupling functions

Description
BLT/ULP coupling/decoupling functions

Function Documentation

int pip_couple ( void  )
Name
pip_couple
Synopsis
#include <pip/pip.h>
int pip_couple( void );
Returns
Return 0 on success. Return an error code on error.
Return values
EPERMPiP library is not yet initialized or already finalized
EBUSYthe curren task is already coupled with a kernel thread
int pip_decouple ( pip_task_t *  task)
Name
pip_decouple
Synopsis
#include <pip/pip.h>
int pip_decouple( pip_task_t *sched )
Parameters
[in]taskspecify the scheduling task to schedule the decoupled task (calling this function). If NULL, then the previously coupled pip_task takes place.
Returns
Return 0 on success. Return an error code on error.
Return values
EPERMPiP library is not yet initialized or already finalized
EBUSYthe curren task is already decoupled from a kernel thread