// diego: This client will obtain the identifier associated with the semaphore set for its warehouse.
if ((semid = semget(w_id, 10, IPC_CREAT | 0600)) == -1){
    fprintf(stdout,"\n\nNO PUEDO CREAR EL SEMAFORO DE MEMORIA\n");
    perror("Error encontrado");
    exit(-1);
}
