pthread_create not enough space
问题 I'm using Pthreads with MinGW on Windows. A call to pthread_create returns a error which translates to "Not enough space". What kind of space does it refer to? Is the thread stack space? int scannerThreadReturnValue = pthread_create(&parserThreadHandle, &attr, parserThread, (void *)filename); if(scannerThreadReturnValue != 0) { printf("Unable to create thread %s\n", strerror(errno)); } else printf("Parser thread creation successfull\n"); 回答1: The error message most propably is wrong, as the