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

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

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 #ifndef LIBRARIES_NACL_IO_KERNEL_WRAP_H_ 5 #ifndef LIBRARIES_NACL_IO_KERNEL_WRAP_H_
6 #define LIBRARIES_NACL_IO_KERNEL_WRAP_H_ 6 #define LIBRARIES_NACL_IO_KERNEL_WRAP_H_
7 7
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include "utils/macros.h" 10 #include "sdk_util/macros.h"
11 11
12 #if defined(__GLIBC__) 12 #if defined(__GLIBC__)
13 #include <sys/cdefs.h> 13 #include <sys/cdefs.h>
14 #define NOTHROW __THROW 14 #define NOTHROW __THROW
15 #else 15 #else
16 #define NOTHROW 16 #define NOTHROW
17 #endif 17 #endif
18 18
19 #if defined(WIN32) 19 #if defined(WIN32)
20 typedef int chmod_mode_t; 20 typedef int chmod_mode_t;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 int stat(const char* path, struct stat* buf) NOTHROW; 80 int stat(const char* path, struct stat* buf) NOTHROW;
81 #endif 81 #endif
82 int symlink(const char* oldpath, const char* newpath) NOTHROW; 82 int symlink(const char* oldpath, const char* newpath) NOTHROW;
83 int umount(const char* path) NOTHROW; 83 int umount(const char* path) NOTHROW;
84 int NAME(unlink)(const char* path) NOTHROW; 84 int NAME(unlink)(const char* path) NOTHROW;
85 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte); 85 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte);
86 86
87 EXTERN_C_END 87 EXTERN_C_END
88 88
89 #endif // LIBRARIES_NACL_IO_KERNEL_WRAP_H_ 89 #endif // LIBRARIES_NACL_IO_KERNEL_WRAP_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc ('k') | native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698