« Previous | Next » 

Revision 1fb6e65f

ID1fb6e65ffb4350ab2e7b69440629554522a17b51
Parent 610c5613
Child 815612ce

Added by Hans-Christoph Steiner over 3 years ago

make sqlfs_destroy() to clean up after sqlfs_init()

sqlfs_init() is required for both "init" mode and "open/close" mode to set
up things like the path to the file and the key to the database.
sqlfs_open() calls sqlfs_init() to do that. In order to leave things fully
clean, there needs to be also a sqlfs_destroy(), this is then also called
by sqlfs_close(). In threaded/init mode, sqlfs_init() must be called
before any threads start operating, and sqlfs_destroy() must be called
after all threads complete operation.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences