Threads and Multithreading

2025. 8. 11. 23:44·Computer Science/Operating System

 

 

What is a Thread?

  • A thread is the smallest unit of execution within a process.
  • A single process can have multiple threads.
  • Unlike processes, which each have their own code, data, and heap,threads share the code, data, and heap of their process. → This allows multiple tasks to run concurrently within a single process.

Multithreading

  • Multithreading is a technique where multiple threads within a process share the workload.
  • Since threads share memory and resources, it is more efficient in terms of memory usage, faster than inter-process communication, and generally provides better performance.

 

'Computer Science > Operating System' 카테고리의 다른 글

Structure of CPU scheduling algorithm and each algorithm  (0) 2025.08.29
Shared resources, Critical sections, and Deadlock  (0) 2025.08.23
PCB & Context Switching  (0) 2025.08.03
Process  (0) 2025.07.30
How memory manages data  (0) 2025.07.27
'Computer Science/Operating System' 카테고리의 다른 글
  • Structure of CPU scheduling algorithm and each algorithm
  • Shared resources, Critical sections, and Deadlock
  • PCB & Context Switching
  • Process
JTB
JTB
웹/앱 개발 정보를 공유하고 있습니다.
  • JTB
    JTechBlog
    JTB
  • 전체
    오늘
    어제
    • All About Programming;)
      • Computer Science
        • Terminology and Concepts
        • Network
        • Operating System
        • Database
        • Data Structure
        • Web Development
      • Frontend
        • Javascript Essentials
        • Perfomance Optimization
        • JS Patterns
        • React
        • Next.js
        • Flutter
        • Testing
      • Backend
        • Node.js
      • DevOps
        • Docker & Kubernetes
      • Coding Test
        • LeetCode
        • Programmers
      • Tech Books & Lectures
        • Javascript_Modern JS Deep d..
        • Network_IT 엔지니어를 위한 네트워크 입문
      • Projects
        • PolyLingo_2025
        • Build Your Body_2024
        • JStargram_2021
        • Covid19 Tracker_2021
        • JPortfolio_2021
      • BootCamp_Codestates
        • TIL
        • TILookCloser
        • Pre Tech Blog
        • IM Tech Blog
        • Daily Issues and DeBugging
        • First Project
        • Final Project
        • Sprint Review
        • Good to Know
        • Socrative Review
        • HTML & CSS
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

    • 글쓰기
    • 관리
  • 공지사항

  • 인기 글

  • 태그

    indie hacker
    Time complexity and Space complexity
    TCP/IP
    딥다이브
    Data Structure
    Shared resources
    leetcode
    Binary Tree BFS
    스코프
    need a database
    이벤트
    DOM
    mobile app
    모던 자바스크립트 Deep Dive
    자바스크립트 딥다이브
    CPU scheduling algorithm
    How memory manage data
    Javascript Essentials
    커리어
    polylingo
    js pattern
    Operating System
    database
    Threads and Multithreading
    Network
    testing
    프론트엔드 성능 최적화 가이드
    structure of os
    자바스크립트
    VoiceJournal
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
JTB
Threads and Multithreading
상단으로

티스토리툴바