Revert "Custom setproctitle (#32667)"

This reverts commit 3365ed5eff.
This commit is contained in:
Adeeb Shihadeh
2024-06-10 19:55:41 -07:00
parent 4684651dc5
commit 5b51f03967
7 changed files with 14 additions and 40 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ from collections.abc import Callable, ValuesView
from abc import ABC, abstractmethod
from multiprocessing import Process
from openpilot.common.threadname import setthreadname
from setproctitle import setproctitle
from cereal import car, log
import cereal.messaging as messaging
@@ -27,7 +27,7 @@ def launcher(proc: str, name: str) -> None:
mod = importlib.import_module(proc)
# rename the process
setthreadname(proc)
setproctitle(proc)
# create new context since we forked
messaging.context = messaging.Context()