Threads and concurrency - Notes.