jimweirich/rake — pull request #135 by michaeljbishop (2012-10-24 00:28:52+00:00)
Title: Cleaned up the ThreadPool interface

Since the ThreadPool as currently checked into Rake 0.9.3.beta.2 is a public api, this change ensures that api is minimal, documented, and exposes the fewest dependencies necessary to function, allowing for future and gradual, expansion.

Most notably, the interface is completely documented and certain private things are hidden from documentation.

The futures returned by ThreadPool#future are of an undocumented type, but are guaranteed to have a #value method which will return the value of the future.