java--Multithreading Knowledge Point Summary

Source: Internet
Author: User

1: Before we understand the concept of threading, it is necessary to understand the concept of process first

  program Program is a collection of command sequences written in a computer language (such as the Java language) to achieve a specific goal or solve a specific problem.

  Process refers to the execution of a program at a time

2: Thread

A thread is also called a lightweight process, which is a sequence of instructions that implements a single function in a program, a single execution stream of a program that exists in a process and is part of a process. The thread cannot run alone and must be run within a process.

java--Multithreading Knowledge Point Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.