Parlando di threads...
che cosa si intende per semafori? mi potreste mostrare un esempio del loro funzionamento?

grazie