[erlang-questions] Executing concurrently

Andras Georgy Bekes <>
Tue Mar 3 13:09:13 CET 2009


>    I have a function Fun(). If Fun is called simultaneously by two
> processes, then it should fail for one process while should succeed
> for other. I wrote such function. Now I want to test it! How do I do
> that? How do I call a function exactly at same time from two
> different processes?
It depends on how you define "called simultaneously".

What do you mean "called simultaneously"?
What do you want to achieve?

	Georgy



More information about the erlang-questions mailing list