| OLD | NEW |
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 */ | |
| 5 | 4 |
| 6 #ifndef LIBRARIES_NACL_IO_INODE_POOL_H_ | 5 #ifndef LIBRARIES_NACL_IO_INODE_POOL_H_ |
| 7 #define LIBRARIES_NACL_IO_INODE_POOL_H_ | 6 #define LIBRARIES_NACL_IO_INODE_POOL_H_ |
| 8 | 7 |
| 9 #include <stdlib.h> | 8 #include <stdlib.h> |
| 10 #include <vector> | 9 #include <vector> |
| 11 | 10 |
| 12 #include "nacl_io/osstat.h" | 11 #include "nacl_io/osstat.h" |
| 13 #include "pthread.h" | 12 #include "pthread.h" |
| 14 #include "sdk_util/auto_lock.h" | 13 #include "sdk_util/auto_lock.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 private: | 51 private: |
| 53 size_t num_nodes_; | 52 size_t num_nodes_; |
| 54 size_t max_nodes_; | 53 size_t max_nodes_; |
| 55 std::vector<ino_t> inos_; | 54 std::vector<ino_t> inos_; |
| 56 sdk_util::SimpleLock lock_; | 55 sdk_util::SimpleLock lock_; |
| 57 }; | 56 }; |
| 58 | 57 |
| 59 } // namespace nacl_io | 58 } // namespace nacl_io |
| 60 | 59 |
| 61 #endif // LIBRARIES_NACL_IO_INODE_POOL_H_ | 60 #endif // LIBRARIES_NACL_IO_INODE_POOL_H_ |
| OLD | NEW |