Skip to content

스레드 #2

Open
Open

Description

@disjukr

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

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

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

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

Activity

  1. disjukr commented on Jun 17, 2019

    @disjukr
    MemberAuthor

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

  2. Kroisse commented on Jun 17, 2019

    @Kroisse

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions