Skip to content
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

스레드 #2

Open
disjukr opened this issue Jun 17, 2019 · 2 comments
Open

스레드 #2

disjukr opened this issue Jun 17, 2019 · 2 comments

Comments

@disjukr
Copy link
Member

disjukr commented Jun 17, 2019

https://narucode.org/0/#Minutes%202019-05-25

(lifthrasiir) js webworker 같은 것을 한 파일에서 할 수 있으면 좋겠다

webworker같은 것을 하고 싶다면, 나루 스레드가 가지게 될 제약은 webworker의 제약과 같은 것인가요?

예를 들어, 한 스레드 안의 어떤 객체는 다른 스레드에 있는 객체를 바라보는 것이 불가능한가요?

@disjukr
Copy link
Member Author

disjukr commented Jun 17, 2019

gc랑 관련이 있을 것 같은데, 예를 들어 위 제약이 없다면 gc가 도는 동안은 gc가 도는 스레드를 제외한 다른 모든 스레드를 잠시 멈추도록 구현해야할 것 같네요.

@Kroisse
Copy link

Kroisse commented Jun 17, 2019

캡슐의 제약과 많은 부분이 겹치지 않을까 싶습니다. 아예 한 쓰레드 당 하나의 캡슐이라는 제약을 둘 수도 있을 것 같고요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants