由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 请教三个多线程(multi-threading)题目
相关主题
一道多线程的面试题一个多线程的简单问题
一个题:多线程怎么调试?求问:有什么多线程的复习资料不?
请问如何准备多线程问题Amazon二面
请教多线程的入门书请教一个thread的问题
贡献T家新鲜面经,求个bless问个multi threading code 题,同时请问高手mutil threading 编程有什么好书,网站和教程推荐?
问一下sorting一道关于SMP and threading 题目
请教一道多线程的基本问题career cup 如何测context switch花费时间?
从0开始学会c++代码, 预估要多少时间?two functons and two threads
相关话题的讨论汇总
话题: process话题: 多线程话题: stack话题: threads话题: 题目
进入JobHunting版参与讨论
1 (共1页)
c**z
发帖数: 669
1
多线程题目请教
1. threads of a process share the same memory address, when one makes a
change to the process, the change is visible to other threads. Can you give
an example?
2. Visual studio里面的 call stack, 是存储的什么?
3。new int* p 在heap上的内存,
int b 是在 stack上的内存,
这个对于process来说是一样的还是不一样的?
m*********0
发帖数: 46
2
2. Call stack上存的是当前正被调度运行的线程调用栈
3. heap是process wide。stack是thread wide, 函数调用结束后会frame会被unwind

give

【在 c**z 的大作中提到】
: 多线程题目请教
: 1. threads of a process share the same memory address, when one makes a
: change to the process, the change is visible to other threads. Can you give
: an example?
: 2. Visual studio里面的 call stack, 是存储的什么?
: 3。new int* p 在heap上的内存,
: int b 是在 stack上的内存,
: 这个对于process来说是一样的还是不一样的?

1 (共1页)
进入JobHunting版参与讨论
相关主题
two functons and two threads贡献T家新鲜面经,求个bless
求教神码是 Unix/Posix programming问一下sorting
c++ thread 求助 (转载)请教一道多线程的基本问题
看来TANGO 比 FLAGT 要求都高啊!从0开始学会c++代码, 预估要多少时间?
一道多线程的面试题一个多线程的简单问题
一个题:多线程怎么调试?求问:有什么多线程的复习资料不?
请问如何准备多线程问题Amazon二面
请教多线程的入门书请教一个thread的问题
相关话题的讨论汇总
话题: process话题: 多线程话题: stack话题: threads话题: 题目