| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * Concepts used here: | 6 * Concepts used here: |
| 7 * | 7 * |
| 8 * "manager" - A manager contains one or more isolates, schedules their | 8 * "manager" - A manager contains one or more isolates, schedules their |
| 9 * execution, and performs other plumbing on their behalf. The isolate | 9 * execution, and performs other plumbing on their behalf. The isolate |
| 10 * present at the creation of the manager is designated as its "root isolate". | 10 * present at the creation of the manager is designated as its "root isolate". |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 'command': 'start2', | 637 'command': 'start2', |
| 638 'id': workerId, | 638 'id': workerId, |
| 639 // Note: we serialize replyPort twice because the child worker needs to | 639 // Note: we serialize replyPort twice because the child worker needs to |
| 640 // first deserialize the worker id, before it can correctly deserialize | 640 // first deserialize the worker id, before it can correctly deserialize |
| 641 // the port (port deserialization is sensitive to what is the current | 641 // the port (port deserialization is sensitive to what is the current |
| 642 // workerId). | 642 // workerId). |
| 643 'replyTo': _serializeMessage(replyPort), | 643 'replyTo': _serializeMessage(replyPort), |
| 644 'functionName': functionName })); | 644 'functionName': functionName })); |
| 645 } | 645 } |
| 646 } | 646 } |
| OLD | NEW |