Use dedicated thread functions for certain tasks.

This commit is contained in:
Igor Socec 2016-11-19 15:29:16 +01:00
parent 9703b42b3a
commit d73794b11d
5 changed files with 288 additions and 241 deletions

View file

@ -5,7 +5,7 @@
#include <common.h>
#include <client.h>
/* The serial-server scenario makes sense only for 1 connected client.
/* The serial-server scenario only makes sense for 1 connected client.
* Allow 1 extra connection to reject new clients with an explanation. */
#define SERVER_MAX_CONNECTIONS 2