No, pthread_condattr_init and pthread_cond_init initialize variables CAttr and Cond. By the by, this code written in C work right. <br><br><div><span class="gmail_quote">2007/5/7, Leonardo M. Ramé <<a href="mailto:martinrame@yahoo.com">
martinrame@yahoo.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> {TCondv}<br>> constructor TCondv.Create;<br>> begin
<br>> pthread_condattr_init(CAttr);<br>> pthread_cond_init(Cond, CAttr);<br>> end;<br><br>I never used pthreads, but looking at the constructor of TCondv, it seems to require CAttr and<br>Conv to be setted before calling pthread_condattr_init and pthread_cond_init.
<br></blockquote></div><br>