Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: frankswu/folly

Tags

v2021.03.15.00

Toggle v2021.03.15.00's commit message
let some thunk members take variadic args

Summary: In particular, let `make` and `ctor` take variadic arguments since there is no cost.

Reviewed By: iahs

Differential Revision: D27024839

fbshipit-source-id: 805c65fdc79f60af1256a4c36be94bb22c163bdd

v2021.03.08.00

Toggle v2021.03.08.00's commit message
Explicitly qualify atomic_wait and atomic_notify function calls

Summary:
`std::atomic_wait()` and `std::atomic_notify_one()` are marked as unavailable.
Not really sure what that means, but it seems to be breaking some open source
builds facebook#1527.  Explicitly qualify the
calls into those functions to try and fix the build break.

Since we cannot conditionally import either of the above (because they are
marked as unavailable), we can't rely on the standard implementations.  To
prevent ADL from kicking in when the standard-library defines these, we fully
qualify these and use `tag_invoke` for the customization points used in tests.

Reviewed By: davidtgoldblatt

Differential Revision: D26742072

fbshipit-source-id: 9f44bbfd37530f5ecffa3e03d673cfb1df953299

v2021.03.01.00

Toggle v2021.03.01.00's commit message
no need to overload return_value

Summary: No need to overload coroutine `promise_type::return_value` to handle initializer list expressions - just template and default the parameter.

Reviewed By: Orvid

Differential Revision: D26508901

fbshipit-source-id: 61c4a2225355b0044638cd89b9153d599317a453

v2021.02.22.00

Toggle v2021.02.22.00's commit message
FiberManager's shutdown only waits for remote tasks to drain

Reviewed By: andriigrynenko

Differential Revision: D26572552

fbshipit-source-id: 035e1313cd4dec070555b5cd41efc58a0b4a948a

v2021.02.15.00

Toggle v2021.02.15.00's commit message
no shared_ptr in EventBaseLocal

Summary: [folly] no `shared_ptr` storage in `EventBaseLocal` since its refcount operations are unnecessary. Pare it down to `unique_ptr` with a straightforward fun-ptr deleter.

Reviewed By: iahs

Differential Revision: D26246619

fbshipit-source-id: 3d0214ccb6c4730ca7b573065b4468a0dce85d40

v2021.02.08.00

Toggle v2021.02.08.00's commit message
reexport coroutine_handle

Summary: Reexport `coroutine_handle` from `folly/experimental/coro/Coroutine.h`, which wraps inclusion of `experimental/coroutine`.

Differential Revision: D26227588

fbshipit-source-id: 32cdb2b6d87e90065bf9f140716d63670c04db5f

v2021.02.01.00

Toggle v2021.02.01.00's commit message
Revert D26163397: python event loop consumes one task at a time from …

…C++ notification queue

Differential Revision:
D26163397 (facebook@7c9f69f)

Original commit changeset: 48cd6cb57c48

fbshipit-source-id: fe0dd79a4e9ec77194cabf0edc697d9746542d3c

v2021.01.25.00

Toggle v2021.01.25.00's commit message
Fix compilation error folly/concurrency/test/AtomicSharedPtrTest.cpp (f…

…acebook#1464)

Summary:
Hello,
It seems it is a missing include.
Regards,
Laurent

Pull Request resolved: facebook#1464

Reviewed By: yfeldblum

Differential Revision: D25730356

Pulled By: Orvid

fbshipit-source-id: 61faa2fdc161450909de6678c1bb8aa331260f64

v2021.01.18.01

Toggle v2021.01.18.01's commit message
Retry bistro tests up to 5 times

Differential Revision: D25985696

fbshipit-source-id: 52ede8dc494f8bf1991dbfed455fbc6bbba83d87

v2021.01.18.00

Toggle v2021.01.18.00's commit message
Simplify ThreadedExecutor

Summary: The implementation doesn't need explicit locking or condition variables, everything can be done with a single concurrent queue.

Reviewed By: yfeldblum

Differential Revision: D25919429

fbshipit-source-id: a2b1e6332305174ba41d02fd79d9525a12b82218