I'm having a bit of an issue with something I encountered while unit
testing my socket classes - each test basically creates a thread on
which a server socket listens. From the main thread I connect a client
to the server socket. I've found that after about 10-15 such tests I
cannot create new
Laura Arhire wrote:
if (pthread_create (thr, NULL, print_message_function, (void *)
data) != 0)
printf(Warning, create did not work for thread #%d\n,
i);fflush(stdout);
else
{
Sleep(1000);
ClientSocket *client =