Subj : Re: trying to make own version of pthread_exit() To : comp.programming.threads From : JS Date : Thu Mar 24 2005 12:12 am > You are implementing a thread system, right? You need to do > whatever is necessary to make the control "evaporate" and leave > behind an appropriate trail. > > One common way to do that is to enter the thread runtime, remove the > thread from any ready lists it might be on, leave some breadcrumbs > in the thread control structure that it's gone, and do a context > switch. > > >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 > > Those are all user-level "how do I call it" guides, not details of > how to implement it. > > Don't take this wrong: Are you sure you're up to this? Hehe well I just wanted to know where the right place to start is. Then I can always see if it gets to complicated...but I guess there is standard way to begin I just don't know where that is. .