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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_dev.cc

Issue 16325024: Move thread_pool.h into utils so it can be shared by more than one example. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
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 #if defined(WIN32) 5 #if defined(WIN32)
6 #define _CRT_RAND_S 6 #define _CRT_RAND_S
7 #endif 7 #endif
8 8
9 #include <errno.h> 9 #include <errno.h>
10 #include <fcntl.h> 10 #include <fcntl.h>
11 #include <string.h> 11 #include <string.h>
12 #include "nacl_io/kernel_wrap_real.h" 12 #include "nacl_io/kernel_wrap_real.h"
13 #include "nacl_io/mount_dev.h" 13 #include "nacl_io/mount_dev.h"
14 #include "nacl_io/mount_node.h" 14 #include "nacl_io/mount_node.h"
15 #include "nacl_io/mount_node_dir.h" 15 #include "nacl_io/mount_node_dir.h"
16 #include "nacl_io/pepper_interface.h" 16 #include "nacl_io/pepper_interface.h"
17 #include "utils/auto_lock.h" 17 #include "sdk_util/auto_lock.h"
18 18
19 #if defined(__native_client__) 19 #if defined(__native_client__)
20 # include <irt.h> 20 # include <irt.h>
21 #elif defined(WIN32) 21 #elif defined(WIN32)
22 # include <stdlib.h> 22 # include <stdlib.h>
23 #endif 23 #endif
24 24
25 25
26 namespace { 26 namespace {
27 27
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 ReleaseAndNullNode(&tty_node_); 334 ReleaseAndNullNode(&tty_node_);
335 ReleaseAndNullNode(&console3_node_); 335 ReleaseAndNullNode(&console3_node_);
336 ReleaseAndNullNode(&console2_node_); 336 ReleaseAndNullNode(&console2_node_);
337 ReleaseAndNullNode(&console1_node_); 337 ReleaseAndNullNode(&console1_node_);
338 ReleaseAndNullNode(&console0_node_); 338 ReleaseAndNullNode(&console0_node_);
339 ReleaseAndNullNode(&random_node_); 339 ReleaseAndNullNode(&random_node_);
340 ReleaseAndNullNode(&zero_node_); 340 ReleaseAndNullNode(&zero_node_);
341 ReleaseAndNullNode(&null_node_); 341 ReleaseAndNullNode(&null_node_);
342 ReleaseAndNullNode(&root_); 342 ReleaseAndNullNode(&root_);
343 } 343 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount.cc ('k') | native_client_sdk/src/libraries/nacl_io/mount_html5fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698