waitWithSemaphore -> Future<T>::wait()
authorJames Sedgwick <jsedgwick@fb.com>
Wed, 21 Jan 2015 19:35:42 +0000 (11:35 -0800)
committerwoo <woo@fb.com>
Mon, 2 Feb 2015 21:12:09 +0000 (13:12 -0800)
commit991a1d5e52b35c1ced25818ae7681f0cb69c76ba
treea96eebabb672b4c10e900c21208da959ef92396b
parent7660d85b9e902101b5415f618613adca5bd17f94
waitWithSemaphore -> Future<T>::wait()

Summary:
see task. also adjust all callsites to get() or wait() as appropriate. this is a lot better, especially in various tests

Facebook:

cc @rushix, @wez as this was quite nice for docstore and novak, and you might want to be aware of new conventions

Test Plan: futures unit, wait for contbuild

Reviewed By: hans@fb.com

Subscribers: trunkagent, fbcode-common-diffs@, hero-diffs@, cold-storage-diffs@, adamsyta, zhuohuang, darshan, micha, folly-diffs@, lins, tingy, hannesr, jsedgwick, wez, rushix

FB internal diff: D1785572

Tasks: 5940008

Signature: t1:1785572:1421866794:a879de4d0bc14e96c434f623ed2a74361e25f28c
folly/futures/Future-inl.h
folly/futures/Future.h
folly/futures/test/FutureTest.cpp