Article Preview
Buy Now
FEATURE
REALScience
Finite State Machines
Issue: 6.3 (March/April 2008)
Author: JC Cruz
Author Bio: JC is a freelance technical writer living in British Columbia. He writes for various publications, pokes around with Cocoa and REALbasic, and spends time with his nephew. He can be reached at: anarakisware@gmail.com
Article Description: No description available.
Article Length (in bytes): 31,606
Starting Page Number: 24
Article Number: 6312
Resource File(s):
6312.zip Updated: 2013-03-11 19:08:00
Related Web Link(s):
http://en.wikipedia.org/wiki/Tower_of_Hanoi
http://en.wikipedia.org/wiki/Bubble_sort
http://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
http://en.wikipedia.org/wiki/Finite_state_machine
Excerpt of article text...
In today's REALScience, we will study the concept of finite state machines. First, we will learn the basic workings of such a machine. Then, we will build one using the REALbasic Thread class. Finally, we will build a demo project that will put our machine through its phases.
Threads Revisited
Starting an application creates a
process . A process gets it share of resources (disk, memory, network, etc) from its host system. It also remains active until it gets a quit signal from the user or a fatal error during its run.
...End of Excerpt. Please purchase the magazine to read the full article.