diff options
author | Viktor Klang <viktor.klang@gmail.com> | 2013-02-18 17:58:08 +0100 |
---|---|---|
committer | Viktor Klang <viktor.klang@gmail.com> | 2013-05-18 20:40:38 +0200 |
commit | 73d494dd4b4b45277c447b774570c52b4df67869 (patch) | |
tree | f622531c7eb0e93efeeba84ae23701972cd7415b /tools | |
parent | 4f8c306aca703c63282295c9f74f0cb35f9f85d4 (diff) | |
download | scala-73d494dd4b4b45277c447b774570c52b4df67869.tar.gz scala-73d494dd4b4b45277c447b774570c52b4df67869.tar.bz2 scala-73d494dd4b4b45277c447b774570c52b4df67869.zip |
Reimplementing much of the DefaultPromise methods
Optimizations:
1) Avoiding to call 'synchronized' in tryComplete and in tryAwait
2) Implementing blocking by using an optimized latch so no blocking ops for non-blockers
3) Reducing method size of isCompleted to be cheaper to inline
4) 'result' to use Try.get instead of patmat
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions