MCPcopy Create free account
hub / github.com/NGT-labs/NGT / ArrayFile

Method ArrayFile

lib/NGT/ArrayFile.h:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66// constructor
67template <class TYPE>
68ArrayFile<TYPE>::ArrayFile() : _isOpen(false), _mutex((pthread_mutex_t)PTHREAD_MUTEX_INITIALIZER) {
69 if (pthread_mutex_init(&_mutex, NULL) < 0) throw std::runtime_error("pthread init error.");
70}
71
72// destructor
73template <class TYPE> ArrayFile<TYPE>::~ArrayFile() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected