1

I have the following loops:

for( i = 1 ; i < V ; i++ )
{
    i sends "hi" to arr[i]
}

for( i = 1 ; i <arr.size ; i++ )
{
    if arr[i] receives "hi"
    {
        print "bye"
    }
}

How can i implement these codes in erlang?

I understood the simple ping and pong, but I want to create this code in parallel, so as to balance out the load. I am somewhat confused on the loop implementation part.

4

1 に答える 1