thermferm/simulator.c

changeset 724
01e3936f62d4
parent 716
5c30c8ef83a8
--- a/thermferm/simulator.c	Sat May 04 13:49:36 2024 +0200
+++ b/thermferm/simulator.c	Sat May 04 15:18:02 2024 +0200
@@ -212,8 +212,10 @@
 
 void *my_simulator_loop(void *threadid)
 {
+    pid_t	pid = gettid();
+
     my_simulator_command = THREAD_RUN;
-    syslog(LOG_NOTICE, "Thread my_simulator_loop started");
+    syslog(LOG_NOTICE, "Thread my_simulator_loop started, pid=%d", pid);
 
     /*
      * Run the state machine

mercurial