title: Semaphores and Mutex behaviour doubts
body: <p>Do semaphores and mutexes synchronize both threads and processes, or only threads, or only processes?</p>
  
  <p>Edit: my mistake it's C, not shell. Since I programmed through the shell I mistook it. And one more thing: are communication and synchronization the same? </p>