libFAUDES

Sections

Index

iop_sdevice.cpp File Reference


Detailed Description

Virtual device for interface definition.

Definition in file iop_sdevice.cpp.

#include "iop_sdevice.h"
#include "sys/time.h"
#include "sp_densityfnct.h"

Go to the source code of this file.

Namespaces

namespace  faudes

Defines

#define LOCK_E
#define UNLOCK_E
#define TLOCK_E
#define TUNLOCK_E

Functions

void * faudes::SDeviceSynchro (void *arg)


Define Documentation

#define LOCK_E

Value:

{int rc = pthread_mutex_lock(&mMutex); \
  if(rc) {FD_ERR("sDevice("<<mName<<")::LOCK_E: lock mutex error\n"); exit(1); }}

Definition at line 339 of file iop_sdevice.cpp.

#define TLOCK_E

Value:

{int rc = pthread_mutex_lock(&sdevice->mMutex); \
  if(rc) {FD_ERR("sDevice::TLOCK_E: lock mutex error\n"); exit(1); }}

Definition at line 345 of file iop_sdevice.cpp.

#define TUNLOCK_E

Value:

{int rc = pthread_mutex_unlock(&sdevice->mMutex); \
  if(rc) {FD_ERR("sDevice::TLOCK_E: unlock mutex error\n"); exit(1); }}

Definition at line 348 of file iop_sdevice.cpp.

#define UNLOCK_E

Value:

{int rc = pthread_mutex_unlock(&mMutex); \
  if(rc) {FD_ERR("sDevice("<<mName<<")::LOCK_E: unlock mutex error\n"); exit(1); }}

Definition at line 341 of file iop_sdevice.cpp.

libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6