132
131
pthread_attr_init(&attr);
133
132
pthread_attr_getstacksize(&attr, &size);
134
133
ts->g->stackguard = size;
135
134
err = pthread_create(&p, &attr, threadentry, ts);
140
139
fprintf(stderr, "runtime/cgo: pthread_create failed: %s\n", strerror(err));