summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-09-01 10:31:12 -0400
committerDwight <dmerriman@gmail.com>2009-09-01 10:31:12 -0400
commit8de1e62a37e509403275d0cae322d2f8c6d362c9 (patch)
treee719525e183f2453762b58888ec944e460ca8417 /util
parent58fa03169faf9af5e79477a2b77928bb5af16c95 (diff)
downloadmongo-8de1e62a37e509403275d0cae322d2f8c6d362c9.tar.gz
minor comments
Diffstat (limited to 'util')
-rw-r--r--util/file_allocator.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/util/file_allocator.h b/util/file_allocator.h
index f4faff9b9a1..e601863d51f 100644
--- a/util/file_allocator.h
+++ b/util/file_allocator.h
@@ -26,12 +26,15 @@
#endif
namespace mongo {
- // Handles allocation of contiguous files on disk. Allocation may be
- // requested asynchronously or synchronously.
+
+ /* Handles allocation of contiguous files on disk. Allocation may be
+ requested asynchronously or synchronously.
+ */
class FileAllocator {
- // The public functions may not be called concurrently. The allocation
- // functions may be called multiple times per file, but only the first
- // size specified per file will be used.
+ /* The public functions may not be called concurrently. The allocation
+ functions may be called multiple times per file, but only the first
+ size specified per file will be used.
+ */
public:
#if !defined(_WIN32)
FileAllocator() : failed_() {}