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

Commit e9a779bf authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 1159b181: Merge "ignore SIGPIPE signal in native services"

* commit '1159b181':
  ignore SIGPIPE signal in native services
parents 2057e777 1159b181
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);