system.h File Reference

UIOMux system API. More...

Go to the source code of this file.

Functions

int uiomux_system_reset (UIOMux *uiomux)
 Reset the UIOMux system, initializing the associated shared memory segment and all shared mutexes.
int uiomux_system_destroy (UIOMux *uiomux)
 Destroy the UIOMux system, removing the associated shared memory segment and destroying all shared mutexes.

Detailed Description

UIOMux system API.

These functions are used by the commandline tool uiomux, and should not be called by normal applications.


Function Documentation

int uiomux_system_destroy ( UIOMux *  uiomux  ) 

Destroy the UIOMux system, removing the associated shared memory segment and destroying all shared mutexes.

This will make UIOMux unusable by other applications which have previously opened it, so must not be used by normal applications. It is usually called by the commandline tool 'uiomux destroy'.

Parameters:
uiomux A UIOMux handle
Return values:
0 Success
int uiomux_system_reset ( UIOMux *  uiomux  ) 

Reset the UIOMux system, initializing the associated shared memory segment and all shared mutexes.

Note that this is done transparently by the first process to call uiomux_open(), so this function does not need to be used by normal applications. It is usually called by the commandline tool 'uiomux reset'.

Parameters:
uiomux A UIOMux handle
Return values:
0 Success
Generated on Fri Aug 26 14:32:28 2011 for libuiomux by  doxygen 1.6.3