Investigated why storing a block argument in a local was sometimes necessary
- Blocks stored on the stack might be copied multiple times otherwise
Removed an unnecessary block copy
Fixed completionSource of FutureSource being marked public
Shared cancelled token and immortal token
Doc tweak
Added missing doc comments on array utility methods that take a cancel token
Immediate tests of then/catch/finally
Immediate tests for thenDo/catchDo/finallyDo
Immediate tests for then/catch/finally[do]:unless:
Fixed not using barriers when atomic incrementing, despite potentially relying on synchronizes-with relation
Removed an incorrect line of doc
Fixed a potential race hole in finally:unless:
Internal __removable_whenSettledDo now returns nil instead of an empty block, and its only caller checks
Merge branch 'master' of github.com:Strilanc/ObjC-CollapsingFutures
Added hasFailedWithCancel method
Release 0.2.0