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
히어운트예츠트
히어운트예츠트
건축학 -> 경제학 -> 호주 워홀 -> 해외영업 -> 개발자 -> ?
  • 히어운트예츠트
    기술블로그
    히어운트예츠트
  • 전체
    오늘
    어제
    • All About Programming;)
      • Other than Tech
        • 잡생각
      • Computer Science
        • Terminology and Concepts
        • Network
        • Operating System
        • Database
        • Data Structure
        • Web Development
        • Interview Prep
      • 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
        • Nativ_2026
      • 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
    자바스크립트
    Threads and Multithreading
    Operating System
    js pattern
    leetcode
    DOM
    커리어
    TCP/IP
    이벤트
    개인의무한한능력이요구되는세상
    모던 자바스크립트 Deep Dive
    CPU scheduling algorithm
    Network
    mobile app
    Shared resources
    database
    Javascript Essentials
    딥다이브
    자바스크립트 딥다이브
    스코프
    structure of os
    Data Structure
    polylingo
    How memory manage data
    VoiceJournal
    프론트엔드 성능 최적화 가이드
    Time complexity and Space complexity
    testing
    Binary Tree BFS
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.5
히어운트예츠트
Threads and Multithreading
상단으로

티스토리툴바