thread

  • [[process]] λŠ” ν•˜λ‚˜ μ΄μƒμ˜ [[os/thread]] λ₯Ό λ°˜λ“œμ‹œ ν¬ν•¨ν•œλ‹€.

  • [[process]] λ‚΄μ—μ„œ μ‹€ν–‰λ˜λŠ” μž‘μ—…μ˜ λ‹¨μœ„

  • 즉 ν•˜λ‚˜μ˜ ν”„λ‘œμ„ΈμŠ€μ— μ—¬λŸ¬ μŠ€λ ˆλ“œκ°€ μ‘΄μž¬ν•  수 있음.

    • μ—¬λŸ¬ ν”„λ‘œμ„ΈμŠ€λŠ” ν”„λ‘œμ„ΈμŠ€κ°€ μ œκ³΅ν•˜λŠ” λ™μΌν•œ λ©”λͺ¨λ¦¬ 곡간을 κ³΅μœ ν•¨.

μŠ€λ ˆλ“œ λ©”λͺ¨λ¦¬ ꡬ성

  • 곡유 λ©”λͺ¨λ¦¬

    • 같은 ν”„λ‘œμ„ΈμŠ€μ˜ μ½”λ“œ μ„Ήμ…˜, λ°μ΄ν„°μ„Ήμ…˜, νž™μ€ ν”„λ‘œμ„ΈμŠ€ μ•ˆμ˜ λͺ¨λ“  μŠ€λ ˆλ“œκ°€ 곡유

  • κ°œλ³„ μŠ€νƒ

    • 각 μŠ€λ ˆλ“œλŠ” μžμ‹ μ˜ μŠ€νŒ©μ„ 가지고 있음.

ν”„λ‘œκ·Έλž¨μ΄ μ‹€ν–‰λœλ‹€λŠ” κ²ƒμ˜ 의미

  • ν”„λ‘œκ·Έλž¨μ΄ μ‹€ν–‰λ˜λ©΄..

    • μš΄μ˜μ²΄μ œλŠ” ν”„λ‘œκ·Έλž¨μ„ λ©”λͺ¨λ¦¬μ— λΆˆλŸ¬μ˜€λ©΄μ„œ ν”„λ‘œμ„ΈμŠ€λ₯Ό λ§Œλ“¬.

  • ν”„λ‘œμ„ΈμŠ€λŠ” μ–΄λ–»κ²Œ 싀행됨?

    • ν”„λ‘œμ„ΈμŠ€ μ•ˆμ— μ½”λ“œκ°€ ν•œ 쀄씩 μ‹€ν–‰λ˜λŠ” 것

    • μŠ€λ ˆλ“œ(μ‹€, 싀을 κΏ°λ‹€)κ°€ 싀행함

      • μ½”λ“œλ₯Ό μœ„μ—μ„œ μ•„λž˜λ‘œ λ‚΄λ €κ°€λ©΄μ„œ ν•˜λ‚˜μ”© κΏ°λŠ” 것

Reference

  • https://www.inflearn.com/course/lecture?courseSlug=%EA%B9%80%EC%98%81%ED%95%9C%EC%9D%98-%EC%8B%A4%EC%A0%84-%EC%9E%90%EB%B0%94-%EA%B3%A0%EA%B8%89-1

Last updated