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

Unified Diff: sdk/lib/_internal/pub/lib/src/pool.dart

Issue 100393010: Use a pool to restrict access to file descriptors in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
Index: sdk/lib/_internal/pub/lib/src/pool.dart
diff --git a/pkg/barback/lib/src/pool.dart b/sdk/lib/_internal/pub/lib/src/pool.dart
similarity index 98%
copy from pkg/barback/lib/src/pool.dart
copy to sdk/lib/_internal/pub/lib/src/pool.dart
index 7f89c12821ec36012b94f54d0e16e167c8a85d50..78cd9d9ede212a4a209c7622179643cc4a42eff8 100644
--- a/pkg/barback/lib/src/pool.dart
+++ b/sdk/lib/_internal/pub/lib/src/pool.dart
@@ -9,6 +9,7 @@ import 'dart:collection';
import 'package:stack_trace/stack_trace.dart';
+// TODO(nweiz): put this somewhere that it can be shared between packages.
/// Manages an abstract pool of resources with a limit on how many may be in use
/// at once.
///

Powered by Google App Engine
This is Rietveld 408576698