tommi
3f90087ce8
Revert of New task queueing primitive for async tasks: TaskQueue. (patchset #8 id:330001 of https://codereview.webrtc.org/1927133004/ )
...
Reason for revert:
sigh. Have to revert again as there seems to have have been some change made for pnacl and CrOS.
Original issue's description:
> Reland of New task queueing primitive for async tasks: TaskQueue. (patchset #1 id:1 of https://codereview.webrtc.org/1935483002/ )
>
> New task queueing primitive for async tasks: TaskQueue.
> TaskQueue is a new way to asynchronously execute tasks sequentially
> in a thread safe manner with minimal locking. The implementation
> uses OS supported APIs to do this that are compatible with async IO
> notifications from things like sockets and files.
>
> This class is a part of rtc_base_approved, so can be used by both
> the webrtc and libjingle parts of the WebRTC library. Moving forward,
> we can replace rtc::Thread and webrtc::ProcessThread with this implementation.
>
> NOTE: It should not be assumed that all tasks that execute on a TaskQueue,
> run on the same thread. E.g. on Mac and iOS, we use GCD dispatch queues
> which means that tasks might execute on different threads depending on
> what's the most efficient thing to do.
>
> TBR=perkj@webrtc.org
>
> Committed: https://crrev.com/65d1f2aba216d077c6d22488f03e56984aef1c68
> Cr-Commit-Position: refs/heads/master@{#12737}
TBR=perkj@webrtc.org ,phoglund@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review-Url: https://codereview.webrtc.org/1981573002
Cr-Commit-Position: refs/heads/master@{#12738}
2016-05-13 21:33:39 +00:00
..
2016-05-02 09:01:02 +00:00
2015-11-06 09:21:39 +00:00
2015-11-24 16:59:40 +00:00
2015-09-08 07:57:41 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-09-04 11:21:14 +00:00
2015-09-04 11:21:14 +00:00
2015-03-09 22:24:25 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 15:14:48 +00:00
2015-03-09 22:24:25 +00:00
2016-04-26 15:14:48 +00:00
2015-03-09 22:24:25 +00:00
2015-03-09 22:24:25 +00:00
2015-10-07 10:23:32 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 10:13:28 +00:00
2016-05-06 18:29:27 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 10:13:28 +00:00
2016-05-06 18:29:27 +00:00
2016-04-26 10:13:28 +00:00
2015-04-30 12:16:14 +00:00
2015-12-18 16:00:35 +00:00
2016-01-04 21:44:16 +00:00
2015-10-07 10:23:32 +00:00
2015-09-16 12:37:52 +00:00
2016-02-25 13:23:29 +00:00
2015-10-07 10:23:32 +00:00
2015-10-07 10:23:32 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2016-05-13 21:33:39 +00:00
2016-05-13 21:33:39 +00:00
2015-10-07 10:23:32 +00:00
2016-03-29 15:47:28 +00:00
2015-10-24 18:14:52 +00:00
2015-10-24 18:14:52 +00:00
2015-10-24 18:14:52 +00:00
2016-03-30 13:43:44 +00:00
2015-09-24 13:07:04 +00:00
2015-09-24 13:07:04 +00:00
2016-04-29 15:00:28 +00:00
2016-04-29 18:18:55 +00:00
2016-04-29 15:00:28 +00:00
2015-05-21 15:51:41 +00:00
2016-02-24 19:10:09 +00:00
2016-04-26 15:14:48 +00:00
2016-05-13 21:33:39 +00:00
2016-04-11 23:11:47 +00:00
2016-04-11 23:11:47 +00:00
2016-04-11 23:11:47 +00:00
2015-10-07 10:23:32 +00:00
2015-10-07 10:23:32 +00:00
2016-04-29 13:09:23 +00:00
2015-04-02 10:31:00 +00:00
2014-05-13 18:00:26 +00:00
2016-04-22 08:22:29 +00:00
2015-10-26 18:51:42 +00:00
2014-06-23 16:15:27 +00:00
2016-01-08 12:51:47 +00:00
2015-09-16 13:33:25 +00:00
2016-03-20 13:15:48 +00:00
2016-02-25 14:16:58 +00:00
2016-04-29 15:00:28 +00:00
2015-10-07 10:23:32 +00:00
2015-11-13 22:37:43 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 10:13:28 +00:00
2016-01-22 13:13:38 +00:00
2016-01-22 13:13:38 +00:00
2015-03-09 22:24:25 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2015-02-17 21:23:13 +00:00
2014-05-13 18:00:26 +00:00
2016-01-08 12:51:47 +00:00
2016-04-22 08:47:10 +00:00
2015-02-12 11:55:32 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-10-28 17:17:50 +00:00
2016-02-29 13:54:14 +00:00
2015-12-07 22:17:26 +00:00
2014-05-13 18:00:26 +00:00
2016-02-22 10:32:02 +00:00
2015-02-10 12:28:12 +00:00
2014-07-16 21:28:26 +00:00
2014-07-16 21:28:26 +00:00
2014-07-16 21:28:26 +00:00
2016-04-26 10:13:28 +00:00
2016-04-29 13:09:23 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 10:13:28 +00:00
2015-12-08 21:59:11 +00:00
2016-04-26 10:13:28 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 10:13:28 +00:00
2016-05-06 18:29:27 +00:00
2016-04-26 15:14:48 +00:00
2015-06-10 18:33:24 +00:00
2015-03-09 22:24:25 +00:00
2015-09-17 07:24:51 +00:00
2016-04-26 15:14:48 +00:00
2015-12-12 00:37:14 +00:00
2016-02-05 08:23:57 +00:00
2016-05-04 08:54:39 +00:00
2016-05-06 18:29:27 +00:00
2015-11-25 19:26:08 +00:00
2016-04-26 10:13:28 +00:00
2015-11-25 19:26:08 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 10:13:28 +00:00
2015-03-09 22:24:25 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2015-11-11 07:44:39 +00:00
2015-11-11 07:44:39 +00:00
2016-04-26 10:13:28 +00:00
2015-10-16 18:01:40 +00:00
2015-03-09 22:24:25 +00:00
2014-05-13 18:00:26 +00:00
2016-03-18 05:54:49 +00:00
2016-04-26 10:13:28 +00:00
2015-12-28 22:07:05 +00:00
2015-12-28 22:07:05 +00:00
2014-08-27 10:17:22 +00:00
2014-05-14 18:24:13 +00:00
2014-05-13 18:00:26 +00:00
2016-02-25 13:23:29 +00:00
2016-03-01 19:07:40 +00:00
2015-11-25 23:36:20 +00:00
2015-04-02 09:59:23 +00:00
2015-04-02 09:59:23 +00:00
2015-04-02 09:59:23 +00:00
2015-12-01 06:15:53 +00:00
2016-01-04 18:16:01 +00:00
2014-08-21 14:49:28 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 15:14:48 +00:00
2015-09-16 12:37:52 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-05-25 09:26:08 +00:00
2016-01-04 18:16:01 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2016-04-24 15:32:50 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2016-05-12 08:08:29 +00:00
2015-09-17 07:24:51 +00:00
2016-04-26 10:13:28 +00:00
2015-11-03 00:20:28 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 15:14:48 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-09-03 22:53:34 +00:00
2015-05-21 11:50:41 +00:00
2015-05-21 11:50:41 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2015-03-09 22:24:25 +00:00
2015-03-09 22:24:25 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-03-09 22:24:25 +00:00
2016-03-01 19:07:40 +00:00
2015-10-07 10:23:32 +00:00
2015-10-07 10:23:32 +00:00
2014-05-13 18:00:26 +00:00
2015-10-07 10:23:32 +00:00
2015-04-01 22:25:29 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2016-05-11 12:07:33 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2016-03-22 09:03:55 +00:00
2016-03-22 09:03:55 +00:00
2016-04-26 10:13:28 +00:00
2015-02-12 11:55:32 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 15:14:48 +00:00
2015-03-09 22:24:25 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 10:13:28 +00:00
2015-03-09 22:24:25 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2016-01-15 22:49:15 +00:00
2016-04-26 10:13:28 +00:00
2016-04-19 22:41:53 +00:00
2016-05-06 18:29:27 +00:00
2016-04-28 08:32:57 +00:00
2016-04-28 08:32:57 +00:00
2016-04-07 22:36:49 +00:00
2016-04-26 10:13:28 +00:00
2016-03-24 13:05:18 +00:00
2016-03-29 15:47:28 +00:00
2016-03-24 13:05:18 +00:00
2014-05-13 18:00:26 +00:00
2015-03-09 22:24:25 +00:00
2016-04-28 12:14:30 +00:00
2016-04-28 12:14:30 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2016-05-09 13:06:10 +00:00
2016-05-09 13:06:10 +00:00
2016-04-26 10:13:28 +00:00
2015-03-09 22:24:25 +00:00
2015-03-09 22:24:25 +00:00
2016-04-22 13:48:36 +00:00
2014-05-13 18:00:26 +00:00
2016-04-22 11:59:34 +00:00
2016-04-22 11:59:34 +00:00
2016-04-26 10:13:28 +00:00
2016-05-06 18:29:27 +00:00
2016-04-26 10:13:28 +00:00
2014-10-10 08:36:56 +00:00
2014-10-10 08:36:56 +00:00
2015-11-23 22:48:01 +00:00
2016-04-26 10:13:28 +00:00
2016-04-22 16:08:56 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-06-17 14:37:05 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 10:13:28 +00:00
2016-03-29 15:47:28 +00:00
2015-03-09 22:24:25 +00:00
2015-03-09 22:24:25 +00:00
2015-07-16 17:22:28 +00:00
2016-04-26 15:14:48 +00:00
2016-03-01 19:07:40 +00:00
2015-12-10 09:51:02 +00:00
2016-02-02 16:34:16 +00:00
2016-04-22 13:48:36 +00:00
2016-04-22 13:48:36 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2015-12-07 22:29:21 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 15:14:48 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 15:14:48 +00:00
2016-04-28 12:14:30 +00:00
2016-04-28 12:14:30 +00:00
2016-04-28 12:14:30 +00:00
2016-04-29 13:09:23 +00:00
2016-04-26 10:13:28 +00:00
2016-04-15 15:55:30 +00:00
2016-03-12 01:12:40 +00:00
2016-03-12 01:12:40 +00:00
2016-04-26 15:14:48 +00:00
2014-05-13 18:00:26 +00:00
2016-05-11 12:07:33 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 15:14:48 +00:00
2015-09-16 12:37:52 +00:00
2015-12-10 18:50:36 +00:00
2015-10-07 10:23:32 +00:00
2015-10-07 10:23:32 +00:00
2014-05-13 18:00:26 +00:00
2015-10-07 10:23:32 +00:00
2015-03-09 22:24:25 +00:00
2016-05-06 18:29:27 +00:00
2015-02-09 14:19:39 +00:00
2015-09-16 12:37:52 +00:00
2016-04-26 15:14:48 +00:00
2015-11-26 16:45:57 +00:00
2015-11-26 16:45:57 +00:00
2014-05-13 18:00:26 +00:00
2015-03-09 22:24:25 +00:00
2015-10-30 23:08:54 +00:00
2014-05-13 18:00:26 +00:00
2014-06-05 20:40:11 +00:00
2015-09-16 12:37:52 +00:00
2015-09-16 12:37:52 +00:00
2016-04-26 10:13:28 +00:00
2016-02-04 00:45:38 +00:00
2015-10-15 14:26:17 +00:00
2016-03-30 13:43:44 +00:00
2016-04-26 15:14:48 +00:00
2015-12-14 10:07:08 +00:00
2015-12-18 16:13:16 +00:00
2015-12-18 16:13:16 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-03-09 22:24:25 +00:00
2016-04-28 08:32:57 +00:00
2014-05-13 18:00:26 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 10:13:28 +00:00
2016-03-29 15:47:28 +00:00
2014-12-29 23:00:14 +00:00
2015-09-22 18:58:13 +00:00
2016-04-30 03:21:04 +00:00
2016-04-30 03:21:04 +00:00
2016-04-28 12:14:30 +00:00
2016-04-28 12:14:30 +00:00
2016-05-13 11:50:50 +00:00
2015-12-09 19:25:44 +00:00
2016-04-26 10:13:28 +00:00
2015-03-09 22:24:25 +00:00
2016-04-29 13:09:23 +00:00
2016-03-29 15:47:28 +00:00
2016-04-26 10:13:28 +00:00
2016-01-04 21:44:16 +00:00
2016-02-09 10:30:43 +00:00
2016-04-26 15:14:48 +00:00
2015-11-11 07:44:39 +00:00
2015-10-06 18:38:33 +00:00
2015-10-06 18:38:33 +00:00
2014-05-13 18:00:26 +00:00
2015-10-30 23:08:54 +00:00
2015-07-09 23:45:55 +00:00
2016-03-24 08:51:59 +00:00
2016-04-26 15:14:48 +00:00
2015-08-20 12:04:18 +00:00
2015-12-10 18:50:36 +00:00
2015-10-07 10:23:32 +00:00
2016-05-06 18:29:27 +00:00
2015-10-30 23:08:54 +00:00
2016-04-26 10:13:28 +00:00
2015-10-30 23:08:54 +00:00
2016-04-26 10:13:28 +00:00
2016-04-26 10:13:28 +00:00
2015-10-30 23:08:54 +00:00
2015-10-24 18:14:52 +00:00
2014-05-13 18:00:26 +00:00
2016-01-04 21:44:16 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 15:14:48 +00:00
2016-04-26 10:13:28 +00:00
2014-09-24 06:05:00 +00:00
2015-11-23 22:48:01 +00:00
2016-01-25 11:52:53 +00:00
2016-04-26 15:14:48 +00:00
2015-09-17 07:24:51 +00:00
2016-05-01 21:53:55 +00:00
2016-05-06 18:29:27 +00:00
2016-05-01 21:53:55 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2016-01-25 11:09:32 +00:00
2016-01-25 11:09:32 +00:00
2015-11-10 06:52:00 +00:00
2015-03-09 22:24:25 +00:00
2015-03-09 22:24:25 +00:00
2015-11-27 16:53:31 +00:00
2016-01-14 19:01:25 +00:00
2015-10-07 10:23:32 +00:00
2015-11-11 07:44:39 +00:00
2014-09-10 22:10:24 +00:00
2014-05-14 18:24:13 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2016-05-06 18:29:27 +00:00
2016-05-13 14:39:45 +00:00
2016-05-13 14:39:45 +00:00
2015-10-07 10:23:32 +00:00
2015-11-11 07:44:39 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 10:13:28 +00:00
2015-10-07 10:23:32 +00:00
2015-11-11 07:44:39 +00:00
2016-04-26 10:13:28 +00:00
2015-10-07 10:23:32 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-10-07 10:23:32 +00:00
2016-05-06 18:29:27 +00:00
2016-05-06 18:29:27 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-11-11 07:44:39 +00:00
2015-11-11 07:44:39 +00:00
2014-05-13 18:00:26 +00:00
2015-10-07 10:23:32 +00:00
2016-04-26 10:13:28 +00:00
2014-05-13 18:00:26 +00:00
2014-08-18 20:55:58 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2014-05-13 18:00:26 +00:00
2015-10-07 10:23:32 +00:00
2015-10-07 10:23:32 +00:00
2014-05-13 18:00:26 +00:00
2015-09-16 12:37:52 +00:00
2014-08-15 14:44:13 +00:00
2016-04-26 11:54:04 +00:00
2016-04-26 10:13:28 +00:00