Nu merge pe site.<br><br>In client am asa:<br> sem_t *sem[BUCKET_COUNT];<br> char sem_names[BUCKET_COUNT][20];<br> for(i=0;i<BUCKET_COUNT;i++){<br> sprintf(sem_names[i],"/sem%d",i);<br>
}<br> for(i=0;i<BUCKET_COUNT;i++){<br> sem[i] = sem_open(sem_names[i], O_RDWR);<br> if (SEM_FAILED == sem[i]) {<br> perror("Client:Semafor open() failed:");<br>
exit(-1);<br> }<br> }<br><br>Mersi, <br><br>Chiritescu Paul Mihai<br>334CC<br><br>