[erlang-questions] Semaphores

Javier París javierparis@REDACTED
Thu Mar 15 13:57:45 CET 2007


El Jueves, 15 de Marzo de 2007 07:45, Corrado Santoro escribió:
> Maybe someone reminds that, at the last EUC, the talk by Enzo Nicosia on
> programming robots with Erlang presented the possibility (or necessity)
> to have a *native support* for sharing simple data among processes. This
> was due to avoid the latency of message passing between processes that
> need/share the same information (this latency is dangerous for a
> real-time system).

I am curious about this. Is the latency of sending a message so high that
it affects a robot? It seems to be (from a quick non very reliable test :) 
more or less in the single digits microseconds. 

I do not think that using shared memory with semaphores would be
much faster (if at all), but of course I have not made any measurements :)

Regards.

-- 
Javier París




More information about the erlang-questions mailing list