LFE Documentation Site
The LFE Tutorial
Introduction
1.
Title Page
2.
Copyright Page
3.
Installing LFE
4.
Sequential Programming
4.1.
The REPL
4.2.
Modules and Functions
4.3.
Atoms
4.4.
Tuples
4.5.
Lists
4.6.
Property Lists and Maps
4.7.
The Erlang Standard Library
4.8.
Writing Output to a Terminal
4.9.
Example: Converting Temperature
4.10.
Matching, Guards and Scope of Variables
4.11.
More About Lists
4.12.
Conditionals
4.13.
Built-in Functions
4.14.
Higher Order Functions
5.
Concurrent Programming
5.1.
Processes
5.2.
Message Passing
5.3.
Registered Process Names
5.4.
Distributed Programming
5.5.
Example: Messenger
6.
Robustness
6.1.
Timeouts
6.2.
Error Handling
6.3.
Example: Robust Messenger
7.
Records
7.1.
Modularising
7.2.
Header Files
7.3.
Records
8.
Macros
8.1.
Eval
8.2.
Macros
8.3.
The Backquote Macro
9.
Conclusion
Powered by
GitBook
The LFE Tutorial
Concurrent Programming
In this chapter we will look at the basics of concurrent programming in LFE.