esp-idf/components/freemodbus/tcp_slave/port
David Cermak 898cac0061 modbus: Exit server task gracefully to correctly cleanup lwip internals
Current lwip implementation does not support deleting a task which is
actively waiting on `select()` or `poll()` API.
Therefore we have to make sure that `select()` exits to deallocate its internal
callback before deleting the task. This is achieved by a shutdown
semaphore which informs the client once the `select()` exitted.

fix slave
2021-02-10 13:12:54 +00:00
..
port_tcp_slave.c modbus: Exit server task gracefully to correctly cleanup lwip internals 2021-02-10 13:12:54 +00:00
port_tcp_slave.h examples: freemodbus add tcp support for common master/slave iface 2020-07-22 00:34:04 +08:00