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&lt;BUCKET_COUNT;i++){<br>            sprintf(sem_names[i],&quot;/sem%d&quot;,i);<br>
        }<br>        for(i=0;i&lt;BUCKET_COUNT;i++){<br>            sem[i] = sem_open(sem_names[i], O_RDWR);<br>            if (SEM_FAILED == sem[i]) {<br>                perror(&quot;Client:Semafor open() failed:&quot;);<br>
                exit(-1);<br>            }<br>        }<br><br>Mersi, <br><br>Chiritescu Paul Mihai<br>334CC<br><br>