Commit Graph

4 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Gerald Squelart
5d9cad55f1 Bug 1407810 - DDMediaLogs::SizeOf accounts for shallow message queue size - r=jwwang
MozReview-Commit-ID: 9irARpytVoh

--HG--
extra : rebase_source : a18db325396ca50b9272559b3dcbb7ccc3d63f87
2017-10-17 16:10:05 +11:00
Gerald Squelart
e18e0d36a5 Bug 1407810 - Tweak atomics in MultiWriterQueue - r=jwwang
This queue may be used heavily when multiple threads are running media code
that logs thousands of messages per second, so using less strict memory
ordering can help with speed.
Benchmarks show an improvement of up to twice the queueing speed in some
situations.

MozReview-Commit-ID: 70UOL8XAZGp

--HG--
extra : rebase_source : 38de1f6ce8a404e2ccc1591392176151edc8d078
2017-10-11 14:25:21 +11:00
Gerald Squelart
fb0f980782 Bug 1394995 - MultiWriterQueue - r=jwwang
Templated queue allowing safe and fast multi-threaded pushes.
Popping is not thread-safe (but concurrent pushes are still allowed.)

MozReview-Commit-ID: BHQ3nOlHkLX

--HG--
extra : rebase_source : 4a5dd6b603cbfe9bdd86df339469e870761d742a
2017-09-15 15:10:17 +12:00