[erlang-questions] gen_fsm

Ladislav Lenart <>
Tue Jan 2 11:43:18 CET 2007


Bob Cowdery wrote:
> I've been looking at gen_fsm as I need a state machine implementation.
 > Are there any examples of using this module? I've googled around but
 > can't find anything.

Hello,

I've grasped the gen_fsm module by reading OTP Design principles at:
     http://www.erlang.org/doc/doc-5.5.2/doc/design_principles/part_frame.html
See Gen_Fsm Behavior in more detail, there is also a simple code_lock example.

Hope this helps,

Ladislav Lenart





More information about the erlang-questions mailing list