Tomas Gunnarsson
1933d3b677
Move network thread invokes for initialization for media channels, out.
...
Remove Init_w and Deinit(), both of which were wrappers around Invoke()
calls from the worker thread to the network thread.
Instead, replace them with Init_n() and Deinit_n() that are currently*
required to be called by external code in order to associate/disassociate
the channels with the transport.
This CL mostly moves things around in order to prepare for upcoming
changes, but it does change channel destruction in the following way:
- When destroying channels, we don't block the worker thread anymore
while uninitialization happens on the network thread. Previously
both signal and worker threads were blocked during the
uninitialization in the ChannelManager.
* In an upcoming CL, Init_n() and Deinit_n() will be called internally
from a different method that's always called on the network thread
when a channel is associated/disassociated with a transceiver. When
we're there, we will have removed several invokes that currently are
a part of constructing/destructing channel objects.
Bug: webrtc:11992
Change-Id: Ibc30447a40749ceb36d37834b0cfc5c5ea60e895
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/246502
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35707}
2022-01-17 14:06:42 +00:00
..
2021-07-22 16:41:26 +00:00
2022-01-04 20:44:07 +00:00
2022-01-10 14:56:03 +00:00
2021-11-29 12:18:29 +00:00
2021-11-29 12:18:29 +00:00
2021-07-30 22:13:59 +00:00
2021-05-24 16:17:35 +00:00
2021-05-24 16:17:35 +00:00
2021-11-29 12:18:29 +00:00
2022-01-05 11:59:14 +00:00
2021-04-19 15:59:20 +00:00
2022-01-17 14:06:42 +00:00
2021-04-21 10:16:43 +00:00
2022-01-17 14:06:42 +00:00
2022-01-17 14:06:42 +00:00
2022-01-17 14:06:42 +00:00
2022-01-04 16:19:33 +00:00
2021-04-21 07:04:01 +00:00
2021-07-30 22:13:59 +00:00
2021-07-30 22:13:59 +00:00
2021-05-21 20:50:48 +00:00
2021-11-04 11:40:28 +00:00
2021-04-19 19:32:23 +00:00
2021-04-19 19:32:23 +00:00
2022-01-03 20:00:52 +00:00
2021-11-15 21:44:59 +00:00
2021-11-04 14:46:27 +00:00
2021-04-27 17:01:59 +00:00
2021-05-21 21:45:29 +00:00
2021-05-21 21:45:29 +00:00
2021-07-30 22:13:59 +00:00
2021-11-15 21:44:59 +00:00
2021-08-10 10:40:03 +00:00
2021-07-30 22:13:59 +00:00
2021-07-30 22:13:59 +00:00
2021-11-27 22:21:54 +00:00
2021-07-30 22:13:59 +00:00
2021-04-27 17:01:59 +00:00
2021-02-10 15:04:55 +00:00
2021-02-10 15:04:55 +00:00
2021-05-17 14:37:55 +00:00
2021-05-17 14:37:55 +00:00
2021-05-17 14:37:55 +00:00
2021-01-05 12:55:24 +00:00
2021-07-22 15:24:56 +00:00
2021-08-10 10:40:03 +00:00
2021-08-11 23:36:28 +00:00
2021-08-11 23:36:28 +00:00
2021-11-15 21:44:59 +00:00
2021-11-15 21:44:59 +00:00
2021-08-11 23:36:28 +00:00
2021-11-15 21:44:59 +00:00
2022-01-05 11:28:25 +00:00
2021-11-04 14:46:27 +00:00
2021-04-27 17:01:59 +00:00
2021-11-02 11:51:31 +00:00
2021-11-02 11:51:31 +00:00
2021-11-15 21:44:59 +00:00
2022-01-13 14:06:55 +00:00
2021-11-04 14:46:27 +00:00
2021-08-03 06:53:59 +00:00
2021-08-03 06:53:59 +00:00
2021-05-28 06:53:29 +00:00
2021-12-22 11:59:26 +00:00
2020-05-18 17:06:25 +00:00
2022-01-05 09:56:53 +00:00
2022-01-04 16:19:33 +00:00
2021-08-31 14:27:49 +00:00
2021-04-27 17:01:59 +00:00
2021-11-15 21:44:59 +00:00
2021-11-18 14:42:35 +00:00
2021-10-26 10:35:41 +00:00
2022-01-04 16:19:33 +00:00
2021-05-28 06:53:29 +00:00
2022-01-10 14:56:03 +00:00
2022-01-04 16:19:33 +00:00
2021-06-01 06:57:31 +00:00
2021-05-12 17:06:58 +00:00
2022-01-10 14:56:03 +00:00
2022-01-10 14:56:03 +00:00
2021-11-18 14:42:35 +00:00
2022-01-10 14:56:03 +00:00
2021-04-19 16:22:23 +00:00
2021-04-15 10:20:00 +00:00
2021-09-28 10:29:54 +00:00
2021-11-15 21:44:59 +00:00
2021-01-29 16:14:10 +00:00
2022-01-04 20:44:07 +00:00
2022-01-10 14:56:03 +00:00
2022-01-04 16:19:33 +00:00
2022-01-04 16:19:33 +00:00
2021-04-30 18:55:47 +00:00
2022-01-04 16:19:33 +00:00
2019-10-14 12:40:53 +00:00
2022-01-10 14:56:03 +00:00
2022-01-04 20:44:07 +00:00
2021-05-28 06:53:29 +00:00
2021-05-28 06:53:29 +00:00
2021-05-28 06:53:29 +00:00
2021-05-17 14:37:55 +00:00
2021-04-08 06:39:22 +00:00
2022-01-11 10:58:35 +00:00
2022-01-11 10:58:35 +00:00
2021-07-30 22:13:59 +00:00
2022-01-10 14:56:03 +00:00
2019-04-09 17:18:20 +00:00
2021-11-15 21:44:59 +00:00
2021-07-30 22:13:59 +00:00
2021-08-11 21:50:08 +00:00
2019-07-08 13:45:15 +00:00
2021-11-15 21:44:59 +00:00
2021-07-30 22:13:59 +00:00
2020-01-09 09:28:07 +00:00
2021-01-29 16:14:10 +00:00
2021-07-30 22:13:59 +00:00
2021-05-28 06:53:29 +00:00
2021-05-27 09:56:42 +00:00
2021-05-17 14:37:55 +00:00
2021-05-28 06:53:29 +00:00
2022-01-16 16:13:53 +00:00
2021-08-10 10:40:03 +00:00
2021-07-30 22:13:59 +00:00
2021-07-30 22:13:59 +00:00
2022-01-04 16:19:33 +00:00
2021-07-30 22:13:59 +00:00
2022-01-04 16:19:33 +00:00
2021-07-30 22:13:59 +00:00
2021-07-30 22:13:59 +00:00
2022-01-03 20:00:52 +00:00
2021-05-05 16:22:33 +00:00
2021-01-29 16:14:10 +00:00
2021-06-29 14:37:32 +00:00
2021-06-29 14:37:32 +00:00
2021-11-04 11:40:28 +00:00
2021-10-18 13:32:22 +00:00
2021-05-21 21:45:29 +00:00
2021-05-21 21:45:29 +00:00
2021-07-30 22:13:59 +00:00
2021-01-11 11:31:33 +00:00
2021-05-10 10:31:48 +00:00
2021-05-10 10:31:48 +00:00
2021-09-16 09:40:52 +00:00
2022-01-17 14:06:42 +00:00
2022-01-12 14:38:25 +00:00
2021-07-30 22:13:59 +00:00
2021-09-08 09:16:09 +00:00
2021-07-30 22:13:59 +00:00
2020-10-26 10:22:46 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-04-16 13:10:54 +00:00
2021-06-15 09:44:36 +00:00
2021-11-04 14:46:27 +00:00
2021-01-29 16:14:10 +00:00
2021-01-29 16:14:10 +00:00
2021-11-04 14:46:27 +00:00
2021-11-04 14:46:27 +00:00
2021-11-04 14:46:27 +00:00
2021-07-30 22:13:59 +00:00
2021-07-19 14:27:27 +00:00
2021-07-26 16:33:54 +00:00
2022-01-03 20:00:52 +00:00
2021-11-04 14:46:27 +00:00
2021-11-04 14:46:27 +00:00
2020-10-05 12:41:23 +00:00
2022-01-11 20:45:16 +00:00
2022-01-11 20:45:16 +00:00
2022-01-11 20:45:16 +00:00
2022-01-04 16:19:33 +00:00
2022-01-04 16:19:33 +00:00
2021-07-30 22:13:59 +00:00
2021-01-29 16:14:10 +00:00
2021-04-20 06:44:40 +00:00
2021-04-20 06:44:40 +00:00
2021-07-26 16:33:54 +00:00
2020-10-09 08:29:45 +00:00
2021-07-30 22:13:59 +00:00
2019-09-24 08:56:24 +00:00
2021-07-30 22:13:59 +00:00
2021-05-17 14:37:55 +00:00
2021-05-24 16:17:35 +00:00
2021-07-30 22:13:59 +00:00
2021-04-27 17:01:59 +00:00
2021-01-29 16:14:10 +00:00
2021-07-30 22:13:59 +00:00
2021-05-27 09:56:42 +00:00
2021-12-21 19:52:56 +00:00
2021-05-24 16:17:35 +00:00
2021-02-10 15:04:55 +00:00
2021-07-30 22:13:59 +00:00
2021-12-22 11:59:26 +00:00
2021-12-22 11:59:26 +00:00
2021-11-30 11:01:14 +00:00
2021-11-30 11:01:14 +00:00
2021-07-30 22:13:59 +00:00
2021-11-15 21:44:59 +00:00
2021-11-04 14:46:27 +00:00