Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Unified Diff: lib/src/raw_receive_port_multiplexer.dart

Issue 1025293003: pkg/isolate: library renaming, removed unused method, fix creation of TimeoutException (Closed) Base URL: https://github.com/dart-lang/isolate.git@master
Patch Set: nits Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/multiplexport.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/raw_receive_port_multiplexer.dart
diff --git a/lib/src/multiplexport.dart b/lib/src/raw_receive_port_multiplexer.dart
similarity index 95%
rename from lib/src/multiplexport.dart
rename to lib/src/raw_receive_port_multiplexer.dart
index 2711c45752e21c874ecf72b10b560f4d26a18878..d5cd25e73cbdf94c0fccdd9858c18e4ce482c87a 100644
--- a/lib/src/multiplexport.dart
+++ b/lib/src/raw_receive_port_multiplexer.dart
@@ -18,14 +18,15 @@
/// write `new RawReceivePort(handler)`.
///
/// Remember to [close] the multiplexer when it is no longer needed.
-/// `
+///
/// (TODO: Check if it really is faster - creating a receive port requires a
/// global mutex, so it may be a bottleneck, but it's not clear how slow it is).
-library pkg.isolate.multiplexreceiveport;
+library isolate.raw_receive_port_multiplexer;
+
+import 'dart:collection';
+import 'dart:isolate';
-import "dart:isolate";
-import "dart:collection";
-import "lists.dart";
+import 'lists.dart';
class _MultiplexRawReceivePort implements RawReceivePort {
final RawReceivePortMultiplexer _multiplexer;
« no previous file with comments | « lib/src/multiplexport.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698