Replies: 1 comment
-
주제 : 멀티스레드 동기와 비동기의 개념 및 사용 예시멀티스레드 동기 넌블로킹 : 여러 스레드가 순차적으로 작업을 수행하는 방식
사용 예시
멀티스레드 비동기 넌블로킹: 여러 스레드가 독립적으로 작업을 수행하는 방식
사용예시
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
동시성 시나리오
기본 조건
멀티 스레드에서 3가지 관심사
안정성은 잘못된 일이 생기지 않는다 를 뜻함
활동성은 원하는 일이 결국 일어난다 를 뜻한다.
어떤 작업이 전혀 진전되지 못하는 상태에 빠질 때
활동성 장애
가 발생했다고 한다.→ 데드락(deadlock), 소모상태(starvation), 라이브락(livelock) 등 여러 가지 활동성 장애 유형이 존재
→ 테스트에 잘 드러나지 않음
성능 위험
Beta Was this translation helpful? Give feedback.
All reactions