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

Side by Side Diff: src/trusted/desc/nacl_desc_mutex.c

Issue 10981077: change native_client/.../sys/mman.h to native_client/.../bits/mman.h (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 2 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 | « src/trusted/desc/nacl_desc_io.c ('k') | src/trusted/desc/nacl_desc_semaphore.c » ('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) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 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 6
7 /* 7 /*
8 * NaCl Service Runtime. Mutex Descriptor / Handle abstraction. 8 * NaCl Service Runtime. Mutex Descriptor / Handle abstraction.
9 */ 9 */
10 10
11 #include "native_client/src/include/portability.h" 11 #include "native_client/src/include/portability.h"
12 12
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include "native_client/src/shared/imc/nacl_imc_c.h" 16 #include "native_client/src/shared/imc/nacl_imc_c.h"
17 #include "native_client/src/trusted/desc/nacl_desc_base.h" 17 #include "native_client/src/trusted/desc/nacl_desc_base.h"
18 #include "native_client/src/trusted/desc/nacl_desc_mutex.h" 18 #include "native_client/src/trusted/desc/nacl_desc_mutex.h"
19 19
20 #include "native_client/src/shared/platform/nacl_host_desc.h" 20 #include "native_client/src/shared/platform/nacl_host_desc.h"
21 #include "native_client/src/shared/platform/nacl_log.h" 21 #include "native_client/src/shared/platform/nacl_log.h"
22 #include "native_client/src/shared/platform/nacl_interruptible_mutex.h" 22 #include "native_client/src/shared/platform/nacl_interruptible_mutex.h"
23 23
24 #include "native_client/src/trusted/service_runtime/nacl_config.h" 24 #include "native_client/src/trusted/service_runtime/nacl_config.h"
25 #include "native_client/src/trusted/service_runtime/internal_errno.h" 25 #include "native_client/src/trusted/service_runtime/internal_errno.h"
26 26
27 #include "native_client/src/trusted/service_runtime/include/bits/mman.h"
27 #include "native_client/src/trusted/service_runtime/include/sys/errno.h" 28 #include "native_client/src/trusted/service_runtime/include/sys/errno.h"
28 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h" 29 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h"
29 #include "native_client/src/trusted/service_runtime/include/sys/mman.h"
30 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" 30 #include "native_client/src/trusted/service_runtime/include/sys/stat.h"
31 31
32 /* 32 /*
33 * This file contains the implementation for the NaClDescMutex subclass 33 * This file contains the implementation for the NaClDescMutex subclass
34 * of NaClDesc. 34 * of NaClDesc.
35 * 35 *
36 * NaClDescMutex is the subclass that wraps host-OS mutex abstractions 36 * NaClDescMutex is the subclass that wraps host-OS mutex abstractions
37 */ 37 */
38 38
39 static struct NaClDescVtbl const kNaClDescMutexVtbl; /* fwd */ 39 static struct NaClDescVtbl const kNaClDescMutexVtbl; /* fwd */
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 NaClDescSendMsgNotImplemented, 125 NaClDescSendMsgNotImplemented,
126 NaClDescRecvMsgNotImplemented, 126 NaClDescRecvMsgNotImplemented,
127 NaClDescLowLevelSendMsgNotImplemented, 127 NaClDescLowLevelSendMsgNotImplemented,
128 NaClDescLowLevelRecvMsgNotImplemented, 128 NaClDescLowLevelRecvMsgNotImplemented,
129 NaClDescConnectAddrNotImplemented, 129 NaClDescConnectAddrNotImplemented,
130 NaClDescAcceptConnNotImplemented, 130 NaClDescAcceptConnNotImplemented,
131 NaClDescPostNotImplemented, 131 NaClDescPostNotImplemented,
132 NaClDescSemWaitNotImplemented, 132 NaClDescSemWaitNotImplemented,
133 NaClDescGetValueNotImplemented, 133 NaClDescGetValueNotImplemented,
134 }; 134 };
OLDNEW
« no previous file with comments | « src/trusted/desc/nacl_desc_io.c ('k') | src/trusted/desc/nacl_desc_semaphore.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698