| 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 21 matching lines...) Expand all Loading... |
| 33 // fails, this method returns NULL. | 33 // fails, this method returns NULL. |
| 34 // The thread's state is maintained by nacl_thread. Upcall processing may | 34 // The thread's state is maintained by nacl_thread. Upcall processing may |
| 35 // cause rpcs to be performed on main_channel (e.g., CallOnMainThread), | 35 // cause rpcs to be performed on main_channel (e.g., CallOnMainThread), |
| 36 // so the interface takes main_channel, but the upcall thread does not have | 36 // so the interface takes main_channel, but the upcall thread does not have |
| 37 // ownership. | 37 // ownership. |
| 38 static nacl::DescWrapper* Start(NaClThread* nacl_thread, | 38 static nacl::DescWrapper* Start(NaClThread* nacl_thread, |
| 39 NaClSrpcChannel* main_channel); | 39 NaClSrpcChannel* main_channel); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace ppapi_proxy | 42 } // namespace ppapi_proxy |
| OLD | NEW |