Home > OS >  Embedded Linux development how to send and receive data between the four threads
Embedded Linux development how to send and receive data between the four threads

Time:11-05

Now there is such a application, want to pass the multithreading implementation, as follows:
Using a thread responsible for foreign to send and receive data, the other three thread is responsible for sending and receiving modules of data on the summary to the first thread on to the network, how to do

CodePudding user response:

Queue
Three threads are responsible for the data on the transceiver modules in the queue, external threads to send data from the queue inside then sending data
  • Related