UnboundedQueue: Add LgAlign template parameter - Refactor code
authorMaged Michael <magedmichael@fb.com>
Fri, 8 Dec 2017 17:25:57 +0000 (09:25 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 8 Dec 2017 17:36:05 +0000 (09:36 -0800)
commitb782340cfac92c0793644599046036678f54bb7e
treeb5129d9c588fe748781a307432bf82c00c756028
parent35054c8b8eefa0abaded33ff4150d195c9bf0e80
UnboundedQueue: Add LgAlign template parameter - Refactor code

Summary:
- Add a template parameter, LgAlign, to control memory usage. The parameter is used in DynamicBoundedQueue.
- Refactor code.

Reviewed By: yfeldblum

Differential Revision: D6508015

fbshipit-source-id: 6e17b1d8fd900595147dc4217e04d379a13fbdf8
folly/concurrency/UnboundedQueue-inl.h [deleted file]
folly/concurrency/UnboundedQueue.h
folly/concurrency/test/UnboundedQueueTest.cpp