The following program does not terminate. The execution gets suspended in
the thread at the cout.
Is it due to buffering used in cout;Cause the same code is working fine
with the Red hat version 6.2.
Waiting for an early reply.
static void* Fn(void* Param)
char *Ptr = (char*)Param;
cout<<Ptr<<"\n";//EXECUTION SUSPENDED AT THIS POINT
cout << "Thread Created" << endl;
cout << "Thread Joined" << endl;
Please install libstdc++-2.96-69 or above (this was released as gcc errata