-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[베이] Chapter 1. 서버란 무엇인가(소켓&멀티 프로세스) #10
Conversation
docs/chapter1/Ch11Keyword.txt
Outdated
public int number = 1; //초기화 | ||
|
||
//수행할 메소드 | ||
public void clean(String name) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Synchronize 키워드가 필요한 것 같습니다!
docs/chapter1/Ch11Keyword.txt
Outdated
| --- | --- | | ||
| 2번 방식 | ||
Shared Memory 모델: | 프로세스 사이에 공유 공간을 만들어 메시지를 저장한다. | | ||
- 독립된 메모리 공간을 가지므로, 동기화 문제가 발생하지 않는다. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shared memory를 사용하면 메모리를 공유해서 동기화 문제가 발생할 것 같습니다..! Lock과 같은 기법으로 해결할 수 있을 것 같아요 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
#️⃣ 연관된 이슈
#1
✅ 워크북 체크리스트
✅ 컨벤션 체크리스트
📌 주안점