How do two or more threads share memory on the heap that they have allocated?

前端 未结 5 547
春和景丽
春和景丽 2020-12-28 08:09

As the title says, how do two or more threads share memory on the heap that they have allocated? I\'ve been thinking about it and I can\'t figure out how they can do it. Her

5条回答
  •  隐瞒了意图╮
    2020-12-28 09:10

    A Thread shared with other threads belonging to the same process: its code section, data section and other operating system resources such as open files and signals.

提交回复
热议问题