Sémaphore, Memoria Compartida e IPC (Comunicación Inter-Proceso)