system call alarm
threads e signals (Kerrisk cap. 33 pag. 681-689), pthread_kill, thread implementation models (M:1, 1:1, M:N), threads e execve, threads e fork
thread synchronization (Kerrisk. cap 30 pag 631-636)
proteggere l'accesso a variabili condivise con mutex
mutex allocato staticamente
lock e unlock di mutex (pthread_mutex_lock, pthread_mutex_unlock)
posix semaphores (Kerrisk cap. 53 pag. 1089-1097)
Little book of semaphores: cap 3 Basic synchronization patterns, pag. 11-15
esempio 1: utilizzo di system call alarm
esempio 2: inviare un segnale ad un pthread
esempio 3: pthread mutex
esempio 4: named semaphore
esempio 5: uso di un semaforo per segnalazione tra processi