client_classes::Mutex Class Reference

List of all members.

Public Member Functions

def __init__
def set_variable
def reset_variable
def lock
def release

Detailed Description

This class makes sure that only one client is writing into the database. This is necessary since sqlite is not trhead safe within a process! Futhermore is provide the possiblity to synchronise thread accessing critical sections.

Definition at line 1063 of file client_classes.py.


Member Function Documentation

def client_classes::Mutex::__init__   self  ) 
 

Constructor

Definition at line 1070 of file client_classes.py.

def client_classes::Mutex::lock   self  ) 
 

This functions acquires the look.

Definition at line 1105 of file client_classes.py.

def client_classes::Mutex::release   self  ) 
 

This function releases the lock.

Definition at line 1111 of file client_classes.py.

def client_classes::Mutex::reset_variable   self  ) 
 

reset variable writing

Definition at line 1096 of file client_classes.py.

def client_classes::Mutex::set_variable   self,
  threadus
 

set variable writing

Definition at line 1077 of file client_classes.py.


The documentation for this class was generated from the following file:
Generated on Sun Mar 5 15:54:49 2006 for Client by  doxygen 1.4.6-NO