| 66 | // constructor |
| 67 | template <class TYPE> |
| 68 | ArrayFile<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 |
| 73 | template <class TYPE> ArrayFile<TYPE>::~ArrayFile() { |
nothing calls this directly
no outgoing calls
no test coverage detected