example 8-8: linking processes