OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2009 The Native Client Authors. All rights reserved. | 2 * Copyright 2009 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "native_client/src/include/concurrency_ops.h" | 9 #include "native_client/src/include/concurrency_ops.h" |
10 #include "native_client/src/include/portability.h" | 10 #include "native_client/src/include/portability.h" |
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
963 /* | 963 /* |
964 * Still waiting for some threads to report in... | 964 * Still waiting for some threads to report in... |
965 */ | 965 */ |
966 retval = -NACL_ABI_EAGAIN; | 966 retval = -NACL_ABI_EAGAIN; |
967 } | 967 } |
968 | 968 |
969 cleanup_unlock: | 969 cleanup_unlock: |
970 NaClMutexUnlock(&nap->dynamic_load_mutex); | 970 NaClMutexUnlock(&nap->dynamic_load_mutex); |
971 return retval; | 971 return retval; |
972 } | 972 } |
973 | |
OLD | NEW |