| OLD | NEW |
| 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| 6 // | 6 // |
| 7 // This is an early draft of background thread support. | 7 // This is an early draft of background thread support. |
| 8 // Until it is complete, we assume that all functions proxy functions | 8 // Until it is complete, we assume that all functions proxy functions |
| 9 // (but CallOnMainThread) are called on the main thread. | 9 // (but CallOnMainThread) are called on the main thread. |
| 10 // | 10 // |
| 11 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 11 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 kThreadStackSize)) { | 82 kThreadStackSize)) { |
| 83 return NULL; | 83 return NULL; |
| 84 } | 84 } |
| 85 // On successful thread creation, ownership of info passes to the thread. | 85 // On successful thread creation, ownership of info passes to the thread. |
| 86 info.release(); | 86 info.release(); |
| 87 // On successful return, the caller gets the plugin_end of the socketpair. | 87 // On successful return, the caller gets the plugin_end of the socketpair. |
| 88 return plugin_end.release(); | 88 return plugin_end.release(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 } // namespace ppapi_proxy | 91 } // namespace ppapi_proxy |
| OLD | NEW |