Some concurrency patterns.