Threads and Processes
Ruby gives you two basic ways to organize your program so that you can
run different parts of it ``at the same time.'' You can split
up cooperating tasks within
the program, using multiple
threads, or you can split up tasks between different programs, using
multiple processes. Let's look at each in turn.