blob: a450afadbfb1794322fa4ac5070cac0c8828df69 [file] [log] [blame]
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS
// file for details. All rights reserved. Use of this source code is governed
// by a BSD-style license that can be found in the LICENSE file.
/**
* @author a.semenov@unipro.ru
*/
import "dart:isolate";
main(List<String> args, SendPort sendPort) {
ReceivePort receivePort = new ReceivePort();
dynamic i = 1;
receivePort.listen( (_) => "a" + i);
sendPort.send(receivePort.sendPort);
}