blob: c25126365cd63ea0cf90dde86b4d181f1b8989e4 [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);
}