pychess.System.tsqlite
index
/home/thomas/Programmering/python/skak/svn/lib/pychess/System/tsqlite.py

This is a threadsafe wrapper sqlite.
It is not classbased, so only one database can be open at a time

 
Modules
       
Queue
os
pysqlite2.dbapi2
thread
time

 
Classes
       
threading.Thread(threading._Verbose)
DbWrapper

 
class DbWrapper(threading.Thread)
    
Method resolution order:
DbWrapper
threading.Thread
threading._Verbose
__builtin__.object

Methods defined here:
__init__(self, path, nr)
run(self)

Methods inherited from threading.Thread:
__repr__(self)
getName(self)
isAlive(self)
isDaemon(self)
join(self, timeout=None)
setDaemon(self, daemonic)
setName(self, name)
start(self)

Data and other attributes inherited from threading._Verbose:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of '_Verbose' objects>
list of weak references to the object (if defined)

 
Functions
       
close()
connect(path)
execSQL(*queries)

 
Data
        END_CMD = 1
SQL_CMD = 0
qthreads = 0
sqlqueue = <Queue.Queue instance>