| OLD | NEW |
| 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. Condition Variable Descriptor / Handle abstraction. | 8 * NaCl Service Runtime. Condition Variable 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 #include "native_client/src/trusted/desc/nacl_desc_cond.h" | 19 #include "native_client/src/trusted/desc/nacl_desc_cond.h" |
| 20 | 20 |
| 21 #include "native_client/src/shared/platform/nacl_host_desc.h" | 21 #include "native_client/src/shared/platform/nacl_host_desc.h" |
| 22 #include "native_client/src/shared/platform/nacl_log.h" | 22 #include "native_client/src/shared/platform/nacl_log.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 | 25 |
| 26 #include "native_client/src/trusted/service_runtime/include/bits/mman.h" |
| 26 #include "native_client/src/trusted/service_runtime/include/sys/errno.h" | 27 #include "native_client/src/trusted/service_runtime/include/sys/errno.h" |
| 27 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h" | 28 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h" |
| 28 #include "native_client/src/trusted/service_runtime/include/sys/mman.h" | |
| 29 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" | 29 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" |
| 30 | 30 |
| 31 /* | 31 /* |
| 32 * This file contains the implementation for the NaClDescCondVar subclass | 32 * This file contains the implementation for the NaClDescCondVar subclass |
| 33 * of NaClDesc. | 33 * of NaClDesc. |
| 34 * | 34 * |
| 35 * NaClDescCondVar is the subclass that wraps host-OS condition | 35 * NaClDescCondVar is the subclass that wraps host-OS condition |
| 36 * variable abstractions | 36 * variable abstractions |
| 37 */ | 37 */ |
| 38 | 38 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 NaClDescSendMsgNotImplemented, | 149 NaClDescSendMsgNotImplemented, |
| 150 NaClDescRecvMsgNotImplemented, | 150 NaClDescRecvMsgNotImplemented, |
| 151 NaClDescLowLevelSendMsgNotImplemented, | 151 NaClDescLowLevelSendMsgNotImplemented, |
| 152 NaClDescLowLevelRecvMsgNotImplemented, | 152 NaClDescLowLevelRecvMsgNotImplemented, |
| 153 NaClDescConnectAddrNotImplemented, | 153 NaClDescConnectAddrNotImplemented, |
| 154 NaClDescAcceptConnNotImplemented, | 154 NaClDescAcceptConnNotImplemented, |
| 155 NaClDescPostNotImplemented, | 155 NaClDescPostNotImplemented, |
| 156 NaClDescSemWaitNotImplemented, | 156 NaClDescSemWaitNotImplemented, |
| 157 NaClDescGetValueNotImplemented, | 157 NaClDescGetValueNotImplemented, |
| 158 }; | 158 }; |
| OLD | NEW |