mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-19 16:22:08 +08:00
Revert "Custom setproctitle (#32667)"
This reverts commit 1f45e163559baa2a6127d5a5e8deb7067e32f813. old-commit-hash: 5b51f039675edbbdfbeac72cd9c518450a85bc04
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user