python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why does pthread_join crash (seg fault) at 306 Joins?
I'm playing around with creating a BUNCH of threads, just see learn a bit more about pthread. I've copied a program I found, and instead of making 1 thread, and joining it, it will create X threads, ...
ParallelNewB
Votes: 0
Answers: 2
Using a pointer to a Mutex (pthread_mutex_t *) in a structure, Instead of a global Mutex
I'm using a lock (pthread_mutex_t) in a program that launches a number of threads, all threads receives a pointer to a structure, which contains a pointer to this mutex.
So there is one initialized mu...

hugogogo
Votes: 0
Answers: 1
Threaded application fails for 32bit mode while it works fine for 64bit mode
I have a normal server application which hits SIGSEGV during booting. Code involved in SIGSEGV part contains pthread_cond_wait, pthread_setcancelstate, pthread_cond_timedwait, pthread_cleanup_push and...
Digvijaysingh Gour
Votes: 0
Answers: 1
Error: Too few Argument in multithreaded code
I have been trying to implement a multithreaded program, I already tried <thread.h> and the code worked perfectly; but now I have to use <pthread.h> library due to some college project.
I ...
Amin
Votes: 0
Answers: 1