webrtc/modules/utility/source
Jianhui Dai af0a6b34e3 Ensure FIFO order for delayed tasks in ProcessThreadImpl
TaskQueue posts delayed task in milliseconds precision. If delayed tasks
have the same wakeup time in queue, we should ensure they are waked up
in FIFO order. E.g., call `PostDelayedTask(task-i, 0)` in a loop, we
expect `task-i` is waked up as enqueue order.

Co-Author: jiahe.zhang@intel.com
Bug: webrtc:13761
Change-Id: I3bc87c2d251f8dffee868a012e828fd42e783afc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251960
Reviewed-by: Chen Xing <chxg@google.com>
Reviewed-by: Markus Handell <handellm@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36582}
2022-04-20 08:57:00 +00:00
..
helpers_android.cc Use backticks not vertical bars to denote variables in comments for /modules/utility 2021-08-09 12:01:43 +00:00
jvm_android.cc Remove usage of INFO alias for LS_INFO in log messages 2021-11-04 13:46:17 +00:00
process_thread_impl.cc Ensure FIFO order for delayed tasks in ProcessThreadImpl 2022-04-20 08:57:00 +00:00
process_thread_impl.h Ensure FIFO order for delayed tasks in ProcessThreadImpl 2022-04-20 08:57:00 +00:00
process_thread_impl_unittest.cc Replace mock macros with unified MOCK_METHOD macro 2020-05-28 14:11:53 +00:00