linux: Delay listening to socket until message loop is ready
This commit is contained in:
parent
05c6300329
commit
f01e84a418
2 changed files with 22 additions and 8 deletions
|
@ -133,6 +133,9 @@ class ProcessSingleton : public base::NonThreadSafe {
|
|||
base::FilePath user_data_dir_;
|
||||
ShouldKillRemoteProcessCallback should_kill_remote_process_callback_;
|
||||
#elif defined(OS_POSIX) && !defined(OS_ANDROID)
|
||||
// Start listening to the socket.
|
||||
void StartListening(int sock);
|
||||
|
||||
// Return true if the given pid is one of our child processes.
|
||||
// Assumes that the current pid is the root of all pids of the current
|
||||
// instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue