Pol  Revision:cb584c9
polsem.cpp File Reference
#include "polsem.h"
#include <time.h>
#include "../clib/logfacility.h"
#include "../clib/passert.h"
#include "../clib/threadhelp.h"
#include "../clib/tracebuf.h"
#include <pthread.h>
#include <sys/time.h>

Go to the source code of this file.

Namespaces

 Pol
 
 Pol::Core
 

Functions

void Pol::Core::calc_abs_timeout (struct timespec *ptimeout, unsigned int millis)
 
void Pol::Core::deinit_ipc_vars ()
 
void Pol::Core::init_ipc_vars ()
 
void Pol::Core::polsem_lock ()
 
void Pol::Core::polsem_unlock ()
 
void Pol::Core::send_ClientTransmit_pulse ()
 
void Pol::Core::send_pulse ()
 
void Pol::Core::tasks_thread_sleep (unsigned int millis)
 
void Pol::Core::wait_for_ClientTransmit_pulse (unsigned int millis)
 
void Pol::Core::wait_for_pulse (unsigned int millis)
 
void Pol::Core::wake_tasks_thread ()
 

Variables

pthread_cond_t Pol::Core::clienttransmit_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t Pol::Core::clienttransmit_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
size_t Pol::Core::locker
 
pthread_mutex_t Pol::Core::polsem
 
pthread_mutexattr_t Pol::Core::polsem_attr
 
pthread_mutex_t Pol::Core::polsemdbg_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_cond_t Pol::Core::pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t Pol::Core::pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_cond_t Pol::Core::task_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t Pol::Core::task_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_attr_t Pol::Core::thread_attr
 
bool Pol::Core::thread_started
 
pthread_mutex_t Pol::Core::threadstart_mut = PTHREAD_MUTEX_INITIALIZER
 
pthread_cond_t Pol::Core::threadstart_pulse_cond = PTHREAD_COND_INITIALIZER
 
pthread_mutex_t Pol::Core::threadstart_pulse_mut = PTHREAD_MUTEX_INITIALIZER
 

Detailed Description

History

Definition in file polsem.cpp.