Fri, 05 Apr 2024 16:19:39 +0200
Version 0.9.17a1. Revised starting and stopping the threads. Fixed stopping the command server thread. Moved one-wire tempeature sensors resolution correction to the one-wire thread. The devices thread fetches temperatures from the one-wire thread. The one-wire thread does everything for the temperature sensors. The command server uses private sockets. Still, only one session at the same time is handled.
106 | 1 | #ifndef SERVER_H |
2 | #define SERVER_H | |
3 | ||
4 | ||
5 | #ifdef HAVE_WIRINGPI_H | |
6 | PI_THREAD (my_server_loop); | |
7 | #else | |
8 | void *my_server_loop(void *); | |
9 | #endif | |
10 | ||
11 | ||
12 | #endif |