Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f0e6f1f0 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Start the iptables and ip6tables processes in parallel.

This saves ~30ms on boot.

There should be no races between the threads that start the
and the main thread because pthread_join is documented to
synchronize memory with respect to other threads.

(cherry picked from commit 4e9ffd6e)

Bug: 28362720
Test: bullhead builds, boots
Test: netd_{unit,integration}_test pass
Change-Id: Iaa8f5ddb04c360970b4bdc5bc1c6f9bea951e527
Merged-In: I2d4c2dc54c68d330855acdb53cd9d8ad0ed328d4
parent 066b822f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment