Revert "Custom setproctitle (#32667)"

This reverts commit 1f45e163559baa2a6127d5a5e8deb7067e32f813.

old-commit-hash: 5b51f039675edbbdfbeac72cd9c518450a85bc04
This commit is contained in:
Adeeb Shihadeh
2024-06-10 19:55:41 -07:00
parent 83350bbd22
commit e920e57530
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()