Where in chromium source code is located the function to start child thread

111 views
Skip to first unread message

asmeks gebalas

unread,
Jul 2, 2019, 7:00:50 PM7/2/19
to Chromium-discuss
I would like to know where in chromium source code is located the function where child process are started, exemple there is the parent process chrome.exe and some sort of sub process for rendering ... , i would like to know where in chromium code this function is located ( I already searched with chromium code search engine )

Joe Mason

unread,
Jul 4, 2019, 4:32:11 PM7/4/19
to asmenjui...@gmail.com, Chromium-discuss
The renderer subprocesses are started in a sandbox, which on Windows is started through "sandbox::BrokerServices::SpawnTarget". Searching for "SpawnTarget should find you the places where sandboxed processes are started.


On Tue, Jul 2, 2019 at 7:01 PM asmeks gebalas <asmenjui...@gmail.com> wrote:
I would like to know where in chromium source code is located the function where child process are started, exemple there is the parent process chrome.exe and some sort of sub process for rendering ... , i would like to know where in chromium code this function is located ( I already searched with chromium code search engine )

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Alex Gough

unread,
Jul 6, 2019, 3:51:28 AM7/6/19
to Chromium-discuss
On Windows take a look at https://cs.chromium.org/chromium/src/sandbox/win/src/target_process.cc?rcl=5d385656eccd65a2c3e0306813cf3d331488b0fb&l=139 or `bp chrome!sandbox::TargetProcess::Create` and start exploring.

Alex
Reply all
Reply to author
Forward
0 new messages