I try it , at least now it works well.
The program will be running almost all day, the size of vector could be large,
Can I use vector as the shared memory of two threads? I use QThread.!
ps: one thread is producer, the other is consumer.The producer emit signal when the shared vector has some data, the consumer consume the data and call clear() of the vector.
Thank you in advance
Bookmarks