| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium 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 #include <pthread.h> | 7 #include <pthread.h> |
| 8 | 8 |
| 9 #include "native_client/src/include/nacl_macros.h" | 9 #include "native_client/src/include/nacl_macros.h" |
| 10 #include "native_client/src/shared/ppapi_proxy/ppruntime.h" | 10 #include "native_client/src/shared/ppapi_proxy/ppruntime.h" |
| 11 | 11 |
| 12 | 12 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 35 } | 35 } |
| 36 | 36 |
| 37 const static struct PP_ThreadFunctions thread_funcs = { | 37 const static struct PP_ThreadFunctions thread_funcs = { |
| 38 thread_create, | 38 thread_create, |
| 39 thread_join | 39 thread_join |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 void PpapiPluginRegisterDefaultThreadCreator() { | 42 void PpapiPluginRegisterDefaultThreadCreator() { |
| 43 PpapiPluginRegisterThreadCreator(&thread_funcs); | 43 PpapiPluginRegisterThreadCreator(&thread_funcs); |
| 44 } | 44 } |
| OLD | NEW |