<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
pthread_create(act.handle) followed at some point by use of act.handle in the new thread.<br>  Or possibly getting on the list of threads in the new thread and then a third thread looking at that list.<br><br><br>What is to cause act.handle to be stored before the new thread starts and uses act.handle?<br><br><br>For this reason in Win32 I create the thread suspended, store the handle, resume the thread.<br>Apparently there is no direct equivalent in pthreads, you have to use your own mutex+condition variable.<br><br> - Jay<br><br>                                       </body>
</html>