interruption of blocked I/O functions

前端 未结 0 857
名媛妹妹
名媛妹妹 2020-12-24 12:37

I have a thread, that reads serial device (/dev/ttyUSB0), and writes data to stdout :

void io_thread_func () {

    int serial_port = open(settings.port, O_RD         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题