We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这一面时间比较短 20分钟
为了省issue,我把蚂蚁金服-数字金融线的面试放这了,问了比较多,我只写些我没答上的吧 一面
二面
The text was updated successfully, but these errors were encountered:
进程与线程 进程(调入 CPU 的程序)-》伪并行,在进程 A 进行 IO 请求的时候,切换至进程 B 可以提高 CPU 利用率。
进程的实现,进程表的一些字段: 进程管理:寄存器、程序计数器、堆栈指针、进程 ID、父进程、进程组、进程开始时间。 存储管理:??正文段指针 文件管理:根目录、工作目录、文件描述符。
线程-》1、进程中也存在多个活动,其中某个活动执行实现过长会阻塞后续活动,所以希望能进一步分解进程,2、但与进程不同的是,线程之间的线程共享内存,线程中的创建、销毁、切换开销也更小。3、在多 CPU 系统中,多线程使得真正的并行有了实现的可能??
线程的实现:有自己的堆栈,会存在调用执行而没有返回,重新执行时需要保留堆栈状况。
对比总结:独立性-》内存空间、全局变量共享,不设置保护;开销大小。
Sorry, something went wrong.
No branches or pull requests
这一面时间比较短 20分钟
为了省issue,我把蚂蚁金服-数字金融线的面试放这了,问了比较多,我只写些我没答上的吧
一面
二面
The text was updated successfully, but these errors were encountered: