I am trying to simulate an environment where 'n' systems are simultaneously, sending 'x' requests each, to a server in my program
I am using Qhttp to send the 'x' requests to the server. This part is working fine perfectly.
Now in order to simulate 'n' systems sending these requests simultaneously I am using multithreading.
In main i have this
Qt Code:
for(int i=0;i<noOfThreads;i++) { MyThread t(noOfLogs); t.start(); }To copy to clipboard, switch view to plain text mode
and I have reimplemented run() of MyThread class to send the x requests.
The program is however crashing, where am I going wrong?
Bookmarks