GDB is showing 1 Thread in non threaded application-Collection of common programming errors
I was debugging my app with gdb. I used break main So it can break when main is called. Know if I use thread info
it shows that thread count is 1.
How a thread is starting before main ? I don’t have any thread call in my call so from where thread is getting created. I am using these libs
sqlite , curl , pcre , c-client
Update I have written a sample program to test that if all program start with single thread
#include
int main(int argc,char *argv[]){
std:: cout