Examples of concurrent code