webStress.h
Expand|Select|Wrap|Line Numbers
- pthread_barrier_t *startLine;
Expand|Select|Wrap|Line Numbers
- #include "webStress.h"
- #include <pthread.h>
- ....
- if((pthread_barrier_init(startLine, NULL, 1)) == 0){ // 1 for testing
- fprintf(stderr, "pthread_barrier_init() failed\n");
- exit(0);
- }
Expand|Select|Wrap|Line Numbers
- Program received signal SIGSEGV, Segmentation fault.
- [Switching to Thread -1209050944 (LWP 1309)]
- 0x002dab32 in pthread_barrier_init () from /lib/i686/nosegneg/libpthread.so.0
Any help would be much appreciated.