Created
February 1, 2011 21:52
-
-
Save l1x/806765 to your computer and use it in GitHub Desktop.
tutrial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run() -> | |
Pid = spawn(fun ping/0), | |
Pid ! self(), | |
receive | |
pong -> ok | |
end. | |
ping() -> | |
receive | |
From -> From ! pong | |
end. |
Author
l1x
commented
Feb 1, 2011
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment