Revert "Remove setproctitle (#32716)" (#33195)

* Revert "Remove `setproctitle` (#32716)"

This reverts commit 9020d1931f4cd72f8162e4402278bdf76e3746f2.

* uv lock

* old name
old-commit-hash: 29b58d4f2fcc982d5c06ed8391e368b1b293a96c
This commit is contained in:
Adeeb Shihadeh
2024-08-05 16:42:22 -07:00
committed by GitHub
parent df13b36638
commit fc469e5f80
9 changed files with 65 additions and 59 deletions
-8
View File
@@ -1,8 +0,0 @@
from openpilot.common.threadname import setthreadname, getthreadname, LINUX
class TestThreadName:
def test_set_get_threadname(self):
if LINUX:
name = 'TESTING'
setthreadname(name)
assert name == getthreadname()