pthread_join引发的segmentation fault
时间:2010-08-17 来源:shinyguo_s
#include <stdio.h> |
正当要给thread改名的时候突然发现:
thread = pthread_create(&thread, NULL, &fun, NULL); |
好幼稚的一个bug....不过真的很崩溃
时间:2010-08-17 来源:shinyguo_s
#include <stdio.h> |
thread = pthread_create(&thread, NULL, &fun, NULL); |