Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/kernel_object.h

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix whitespace Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 */ 4 */
5 #ifndef LIBRARIES_NACL_MOUNTS_KERNEL_OBJECT_H_ 5 #ifndef LIBRARIES_NACL_IO_KERNEL_OBJECT_H_
6 #define LIBRARIES_NACL_MOUNTS_KERNEL_OBJECT_H_ 6 #define LIBRARIES_NACL_IO_KERNEL_OBJECT_H_
7 7
8 #include <pthread.h> 8 #include <pthread.h>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "nacl_mounts/path.h" 13 #include "nacl_io/path.h"
14 14
15 class KernelHandle; 15 class KernelHandle;
16 class Mount; 16 class Mount;
17 17
18 // KernelObject provides basic functionality for threadsafe 18 // KernelObject provides basic functionality for threadsafe
19 // acces to kernel objects such as file descriptors and 19 // acces to kernel objects such as file descriptors and
20 // file handles. It also provides access to the CWD for 20 // file handles. It also provides access to the CWD for
21 // path resolution. 21 // path resolution.
22 class KernelObject { 22 class KernelObject {
23 public: 23 public:
(...skipping 28 matching lines...) Expand all
52 52
53 // Kernel lock protects kernel wide resources such as the mount table... 53 // Kernel lock protects kernel wide resources such as the mount table...
54 pthread_mutex_t kernel_lock_; 54 pthread_mutex_t kernel_lock_;
55 55
56 // Process lock proctects process wide resources such as CWD, file handles... 56 // Process lock proctects process wide resources such as CWD, file handles...
57 pthread_mutex_t process_lock_; 57 pthread_mutex_t process_lock_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(KernelObject); 59 DISALLOW_COPY_AND_ASSIGN(KernelObject);
60 }; 60 };
61 61
62 #endif // LIBRARIES_NACL_MOUNTS_KERNEL_OBJECT_H_ 62 #endif // LIBRARIES_NACL_IO_KERNEL_OBJECT_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc ('k') | native_client_sdk/src/libraries/nacl_io/kernel_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698