<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
I was wondering..how does one cleanup the result of pthread_create?<BR>
 <BR>
<A href="http://www.opengroup.org/onlinepubs/007908799/xsh/pthread_join.html">http://www.opengroup.org/onlinepubs/007908799/xsh/pthread_join.html</A><BR>
 <BR>
"It is unspecified whether a thread that has exited but remains unjoined counts against _POSIX_THREAD_THREADS_MAX"<BR>
 <BR>
 <BR>
We never call pthread_join.<BR>
We have our own mechanism.<BR>
We should probably call pthread_join though?<BR>
 <BR>
Or detach is sufficient?<BR>
 <BR>
<A href="http://www.opengroup.org/onlinepubs/000095399/functions/pthread_detach.html">http://www.opengroup.org/onlinepubs/000095399/functions/pthread_detach.html</A><BR>
 <BR>
"The <A href="http://www.opengroup.org/onlinepubs/000095399/functions/pthread_join.html"><I>pthread_join</I>()</A> or <I>pthread_detach</I>() functions should eventually be called for every thread that is created so that storage associated with the thread may be reclaimed<BR>
"<BR>
 <BR>
But what about the wording pthread_join?<BR>
 <BR>
 - Jay<BR>                                     </body>
</html>