River Crossing problem pthreads
Can anyone explain the exact use of mutexes and semaphores in the classical river crossing problem of hackers and serfs using pthreads? I somehow just cant figure it right......
River Crossing problem pthreads
===

Can anyone explain the exact use of mutexes and semaphores in the classical river crossing problem of hackers and serfs using pthreads? I somehow just cant figure it right......