首页 > 试题广场 >

Which of the following compone

[不定项选择题]
Which of the following components of program state are shared across threads in a multithreaded process?
  • Register values
  • Heap memory
  • Global variables
  • Stack memory
推荐
The threads of a multithreaded process share heap memory and global variables.Each thread has its separate set of register values and a separate stack.
发表于 2018-05-05 22:03:13 回复(0)
题都看不懂🙃
发表于 2018-11-20 15:18:21 回复(1)
题目翻译过来是:在多线程程序中跨线程共享以下哪个程序状态组件?
线程间非共享资源
1.线程id
2.处理器现场和栈指针(内核栈)
3.独立的栈空间(用户空间栈)
4.errno变量
5.信号屏蔽字
6.调度优先级
所以答案中的B堆内存,C全局变量都是共享的是共享的

发表于 2019-08-25 16:31:47 回复(2)
MMP,What *** you say?
发表于 2020-11-24 09:19:03 回复(0)
书上的练习
发表于 2023-03-19 00:52:16 回复(0)
<p>register values 寄存器值</p>
发表于 2020-08-30 12:28:50 回复(0)