Home > Back-end > C application architecture to solve
C application architecture to solve
Time:11-23
C + + master of all stripes are good, ask a question, I want to be a c + + program, for example, the separation of interface and the underlying is, with Qt interface, the underlying using standard c + + Specific functions include: 1. Using HTTP or websocket access to server data 2. Complex calculations, use floating point, by prescribing 3. The display waveform, want to smooth, not caton 4. Store data saved to the hard disk, CSV format time-stamped 5. A serial port communication, control other equipment Embedded C, I do now to this project, whether to use multithreading framework, network data volume is a little big, about 10 ms update data at a time, computing is also want to use a lot of floating point such as prescribing, if use the standard C + + 11 multi-threaded, architecture don't know what to do, open five threads directly, and then use a communication between threads, could you recommend a good architecture can, thank you
CodePudding user response:
Network receives generally use the child thread, If the business is very time-consuming, also YaoZi thread,
CodePudding user response:
Assessment is going to run the project equipment hardware conditions, choosing the appropriate architecture scheme,