From the course: Java Threads

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

What is concurrency?

What is concurrency? - Java Tutorial

From the course: Java Threads

What is concurrency?

- [Instructor] In the real world, many things happen at the same time. Think of a factory producing different products in multiple production lines, or a bank where multiple transactions are happening at the same time, or a transit station operating buses and trains on multiple routes at the same time. In the virtual world, your computer lets you copy files, download, listen to music, talk with someone or text, talk with someone with voice or video, and play a game at the same time. All these are great examples of concurrency. Concurrency simply means multiple things happening at the same time. When you write programs to automate real scenarios, you have to deal with concurrency. For example, a website can let users download files, stream audio or video, and chat with other users at the same time. A multiplayer game handles a number of players connected to a game server at the same time. In a GUI application, background…

Contents