Thu Mar 15 13:42:02 CET 2007
> Well, it depends on. Sometimes semaphores can be a simple a good
> solution if they are used with care. But of course message passing is
> more advanced and general than semaphores.
I find message passing less advanced, I make fewer mistakes when using it.
> Sorry, I explained bad in my previous email. Semaphores can be used
> *not* only for sharing data but for other tasks, mainly synchronization.
> In my sample file you can find a sample for barrier synchronization
> using semaphores.
Do you have any examples of tasks that you solve using your semaphores?
More information about the erlang-questions