Subj : Re: trying to make own version of pthread_exit() To : comp.programming.threads From : JS Date : Wed Mar 23 2005 11:29 am > >void mythread_exit(void *retval){ > > void * k; > > k = retval; > > > > printf("%d",k); > > > >} > > Uh, that doesn't quite do enough if you want to be like pthread_exit(). > pthread_exit() can be called from anywhere in the execution flow and > will stop that execution flow. I know this it not the whole story :-) But where can I find some help on making this exit function work like the pthread_exit() function. I have read the following pages, but need some more specific info on how to implement the different parts.: http://www.llnl.gov/computing/tutorials/pthreads/man/pthread_exit.txt http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/apis/users_16.htm http://www.opengroup.org/onlinepubs/007908799/xsh/pthread_exit.html http://www2.yo-linux.com/cgi-bin/man.cgi?section=all&topic=pthread_exit .