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

Side by Side Diff: libraries/nacl-mounts/console/JSPipeMount.h

Issue 10392070: Socket subsystem implementation (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « libraries/nacl-mounts/buffer/BufferMount.cc ('k') | libraries/nacl-mounts/http2/HTTP2Mount.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 #ifndef LIBRARIES_NACL_MOUNTS_CONSOLE_JSPIPEMOUNT_H_ 6 #ifndef LIBRARIES_NACL_MOUNTS_CONSOLE_JSPIPEMOUNT_H_
7 #define LIBRARIES_NACL_MOUNTS_CONSOLE_JSPIPEMOUNT_H_ 7 #define LIBRARIES_NACL_MOUNTS_CONSOLE_JSPIPEMOUNT_H_
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 #include "../base/BaseMount.h" 12 #include "../base/BaseMount.h"
13 #include "../util/SimpleAutoLock.h" 13 #include "../util/PthreadHelpers.h"
14 #include "../util/macros.h" 14 #include "../util/macros.h"
15 15
16 // Interface for outbound pipe pool. 16 // Interface for outbound pipe pool.
17 class JSOutboundPipeBridge { 17 class JSOutboundPipeBridge {
18 public: 18 public:
19 JSOutboundPipeBridge() {} 19 JSOutboundPipeBridge() {}
20 virtual ~JSOutboundPipeBridge() {} 20 virtual ~JSOutboundPipeBridge() {}
21 21
22 // Called by JSPipeMount to write to the bridge. 22 // Called by JSPipeMount to write to the bridge.
23 // Arguments: 23 // Arguments:
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 pthread_mutex_t incoming_lock_; 85 pthread_mutex_t incoming_lock_;
86 pthread_cond_t incoming_available_; 86 pthread_cond_t incoming_available_;
87 std::string prefix_; 87 std::string prefix_;
88 bool using_pseudo_thread_; 88 bool using_pseudo_thread_;
89 bool pseudo_thread_blocked_; 89 bool pseudo_thread_blocked_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(JSPipeMount); 91 DISALLOW_COPY_AND_ASSIGN(JSPipeMount);
92 }; 92 };
93 93
94 #endif // LIBRARIES_NACL_MOUNTS_CONSOLE_JSPIPEMOUNT_H_ 94 #endif // LIBRARIES_NACL_MOUNTS_CONSOLE_JSPIPEMOUNT_H_
OLDNEW
« no previous file with comments | « libraries/nacl-mounts/buffer/BufferMount.cc ('k') | libraries/nacl-mounts/http2/HTTP2Mount.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698