Process-in-Process
 All Functions Groups Pages
Functions
BLT/ULP Mutex Functions

Functions

int pip_mutex_init (pip_mutex_t *mutex)
 Initialize PiP mutex. More...
 
int pip_mutex_lock (pip_mutex_t *mutex)
 Lock PiP mutex. More...
 
int pip_mutex_unlock (pip_mutex_t *mutex)
 Unlock PiP mutex. More...
 
int pip_mutex_fin (pip_mutex_t *mutex)
 Finalize PiP mutex. More...
 

Detailed Description

Function Documentation

int pip_mutex_init ( pip_mutex_t *  mutex)
Name
pip_mutex_init
Synopsis
#include <pip/pip.h>
int pip_mutex_init( pip_mutex_t *mutex );
Parameters
[in,out]mutexpointer to the PiP task mutex
Returns
Return 0 on success. Return an error code on error.
Return values
EPERMPiP library is not yet initialized or already finalized
See Also
pip_mutex_lock
pip_mutex_unlock
pip_mutex_fin
int pip_mutex_lock ( pip_mutex_t *  mutex)
Name
pip_mutex_lock
Synopsis
#include <pip/pip.h>
int pip_mutex_lock( pip_mutex_t *mutex );
Parameters
[in]mutexpointer to the PiP task mutex
Returns
Return 0 on success. Return an error code on error.
Return values
EPERMPiP library is not yet initialized or already finalized
See Also
pip_mutex_init
pip_mutex_unlock
pip_mutex_fin
int pip_mutex_unlock ( pip_mutex_t *  mutex)
Name
pip_mutex_unlock
Synopsis
#include <pip/pip.h>
int pip_mutex_unlock( pip_mutex_t *mutex );
Parameters
[in]mutexpointer to the PiP task mutex
Returns
Return 0 on success. Return an error code on error.
Return values
EPERMPiP library is not yet initialized or already finalized
See Also
pip_mutex_init
pip_mutex_lock
pip_mutex_fin
int pip_mutex_fin ( pip_mutex_t *  mutex)
Name
pip_mutex_fin
Synopsis
#include <pip/pip.h>
int pip_mutex_fin( pip_mutex_t *mutex );
Parameters
[in,out]mutexpointer to the PiP task mutex
Returns
Return 0 on success. Return an error code on error.
Return values
EPERMPiP library is not yet initialized or already finalized
EBUSYThere is one or more waiting PiP task
See Also
pip_mutex_lock
pip_mutex_unlock