Hi,
It's my first Code Blocks day, it seems to be a really promising IDE so I'm testing it every way I can to be sure to choose a best IDE for my development team and I for the next years.
I think I just felt on an application bug by trying basic multithread functions.
I coded a simple thread function in a Win32 project:
DWORD WINAPI CommunicationFct(LPVOID param)
{
int i =0;
while(1)
{
i++;
Sleep(100);
}
return 0;
}
I create 4 threads with these calls:
CreateThread(NULL,0,CommunicationFct,NULL,0,&dThreadID);
CreateThread(NULL,0,CommunicationFct,NULL,0,&dThreadID);
CreateThread(NULL,0,CommunicationFct,NULL,0,&dThreadID);
CreateThread(NULL,0,CommunicationFct,NULL,0,&dThreadID);
The software works fine and in debugging mode, the 4 threads appear in the "Running Threads" debug window.
But if I stop debugging, the threads are still available in the GUI and if I click on "Switch to this Thread", the whole IDE crashes. Not a really bad bug, but a bug and possibly easy to fix.
Should I report it to the official Bug reporting services?
Thanks