Concurrency

Concurrency allows a central processing unit (CPU) to run multiple tasks simultaneously over a certain period of time. These tasks or processes do not depend on each other. Concurrency facilitates the rapid transition between different applications on a computer, for example; it appears that different processes are running at the exact same time. But instead, the CPU is switching back and forth quickly between threads, which are tiny segments of computing processes. Technically, a CPU can run only one thread at a time, but concurrency allows it to switch back and forth between tasks so that they seem to be running simultaneously. This is called multithreading.

Concurrency allows computer programs to run properly by executing different tasks on one CPU during the same general time frame, but these tasks do not all depend on each other, nor are they parallel. In contrast, parallelism actually runs tasks fully at the same time, rather than moving rapidly between them. One benefit of multi-core technology is that it allows a single CPU to perform parallel processing.

Concurrency gives a computer with only one CPU more flexibility by allowing it to decide when and for how long to work on tasks. Concurrency also differs from sequential processes or programming: sequential processes are completed one at a time, while concurrent ones do not have to be completed before another one begins: they can be divided in whatever way is most effective.

Concurrency can be applied to computer systems and programming languages. Programming languages that use concurrency include Java, Python, Rust, and Go.






Jenna Phipps
Jenna Phipps
Jenna Phipps is a writer for Webopedia.com, Enterprise Storage Forum, and CIO Insight. She covers data storage systems and data management, information technology security, and enterprise software solutions.
Get the Free Newsletter
Subscribe to Daily Tech Insider for top news, trends & analysis
This email address is invalid.
Get the Free Newsletter
Subscribe to Daily Tech Insider for top news, trends & analysis
This email address is invalid.

Related Articles

Complete List of Cybersecurity Acronyms

Cybersecurity news and best practices are full of acronyms and abbreviations. Without understanding what each one means, it's difficult to comprehend the significance of...

Human Resources Management System

A Human Resources Management System (HRMS) is a software application that supports many functions of a company's Human Resources department, including benefits administration, payroll,...

How To Defend Yourself Against Identity Theft

Almost every worldwide government agency responsible for identity theft issues will tell you the same thing: The first step to fighting identity theft is...

Infographic

An infographic is a visual representation of information or data. It combines the words information and graphic and includes a collection of imagery, charts,...

ScalaHosting

ScalaHosting is a leading managed hosting provider that offers secure, scalable, and affordable...

HRIS

Human resources information system (HRIS) solutions help businesses manage multiple facets of their...

Best Managed Service Providers...

In today's business world, managed services are more critical than ever. They can...