<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Sal!<br>Nu inteleg cum ar trebui sa folosim variabilele conditie. Eu m-am gandit la un vector de variabile conditie, tinut in structura monitor. Dar ca parametru in wait eu primesc un int. Am cautat definirea tipului pthread_cond_t, dar nu am reusit sa gasesc. Am gasit in schimb asta:<br>
All of the types are defined as arithmetic types of an appropriate length,
with the following exceptions:
<b>key_t</b>,
<b>pthread_attr_t</b>,
<b>pthread_cond_t</b>,
<b>pthread_condattr_t</b>,
<b>pthread_key_t</b>,
<b>pthread_mutex_t</b>,
<b>pthread_mutexattr_t</b>,
<b>pthread_once_t</b>,
<b>pthread_rwlock_t</b> and
<b>pthread_rwlockattr_t</b>.
<br>Din asta inteleg ca pthread_cond_t nu prea e un tip aritmetic, ca sa zic ca pot folosi int...<br>Ma poate lamuri cineva, pls?<br>Mersi.<br>Diana<br></div></div><br>
</body></html>