thermferm/server.h

Fri, 05 Apr 2024 16:19:39 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 05 Apr 2024 16:19:39 +0200
changeset 660
a28ef4d9afa4
parent 106
1bd9a16f5061
permissions
-rw-r--r--

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.

#ifndef	SERVER_H
#define	SERVER_H


#ifdef HAVE_WIRINGPI_H
PI_THREAD (my_server_loop);
#else
void *my_server_loop(void *);
#endif


#endif

mercurial