Hi,
When using pthreads, it's possible to start a thread, then wait for it to finish using pthread_join(...). That just blocks the calling thread until it is done.
Is there any pthread funct...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_22894000.html
Zones:
C++Date Answered: 10/17/2007 Rating: 9.2 Views: 0
Hello,
OS : Windows XP
Compiler : VC++ 6.0
pthreads library : http://sources.redhat.com/pthreads-win32/
In the following sample program, pthread_join is hanging in Windows and same is worki...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21873318.html
Zones:
C++,
CYGWINDate Answered: 07/09/2006 Rating: 9.4 Views: 0
I've never done C/C++ thread programming before, so I'm trying out a simple test. I can't get it to compile without changing all variables to type void*, in which case a segfault occurs at runtime...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21940648.html
Zones:
C++Date Answered: 08/02/2006 Rating: 8.4 Views: 0
Hi Experts,
If I create 3 threads and do the below:
pthread_join( t1, NULL );
pthread_join( t2, NULL );
pthread_join( t3, NULL );
Thread 1 has to finish first, then thread 2 and finally,...
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_21574972.html
Using pthread_join(), one could wait for another thread to exit. But the pthread_join does not take a time argument, so if the other thread gets stuck and doesn't exit, the pthread_join doesn't ret...
http://www.experts-exchange.com/Programming/System/Linux/Q_22504545.html
Zones:
Linux DevDate Answered: 06/29/2007 Rating: 8.6 Views: 0
Hi,
I'm getting a segmentation fault when trying to run pthread_join on Linux.
On my program, the main function calls several threads that do all the work.
to prevent the main function from ex...
http://www.experts-exchange.com/Programming/Languages/C/Q_24300959.html
Zones:
CDate Answered: 04/07/2009 Rating: 8.3 Views: 49