Logo Search packages:      
Sourcecode: qdbm version File versions  Download package

Villa::~Villa (  )  throw () [virtual]

Release the resources.

Note:
If the database handle is not closed yet, it is closed.

Definition at line 198 of file xvilla.cc.

References qdbm::mutex, tranmutex, and villa.

                     {
  pthread_mutex_destroy(&tranmutex);
  if(!villa) return;
  pthread_mutex_lock(&mutex);
  vlclose(villa);
  villa = 0;
  pthread_mutex_unlock(&mutex);
}


Generated by  Doxygen 1.6.0   Back to index