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

Commit 1159b181 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "ignore SIGPIPE signal in native services"

parents 2acadb3f 0944691d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
using namespace android;

int main(int /*argc*/, char** /*argv*/) {
    signal(SIGPIPE, SIG_IGN);
    SensorService::publishAndJoinThreadPool();
    return 0;
}
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
using namespace android;

int main(int, char**) {
    signal(SIGPIPE, SIG_IGN);
    // When SF is launched in its own process, limit the number of
    // binder threads to 4.
    ProcessState::self()->setThreadPoolMaxThreadCount(4);