在两个线程里面
socket和串口设备文件描述符互相影响。使用socket创建套接字,使用close关闭后导致串口设备被关闭,影响系统其他设备的通信过程
那么有没有比较好的办法可以克服这样的情况?
希望能够给与帮助
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
在两个线程里面
socket和串口设备文件描述符互相影响。使用socket创建套接字,使用close关闭后导致串口设备被关闭,影响系统其他设备的通信过程
那么有没有比较好的办法可以克服这样的情况?
希望能够给与帮助