849 simulator_list *simulator; |
849 simulator_list *simulator; |
850 #endif |
850 #endif |
851 int found; |
851 int found; |
852 time_t now; |
852 time_t now; |
853 bool changed; |
853 bool changed; |
|
854 pid_t pid = gettid(); |
854 |
855 |
855 my_devices_state = 1; |
856 my_devices_state = 1; |
856 syslog(LOG_NOTICE, "Thread my_devices_loop started"); |
857 syslog(LOG_NOTICE, "Thread my_devices_loop started, pid=%d", pid); |
857 dht11_next = time(NULL); |
858 dht11_next = time(NULL); |
858 |
859 |
859 /* |
860 /* |
860 * Loop forever until the external shutdown variable is set. |
861 * Loop forever until the external shutdown variable is set. |
861 */ |
862 */ |