stack

stack 是一个线程,heap是一个进程,

stack比heap的存取速度快

线程是stack独占的,是heap共有的

原文地址:https://www.cnblogs.com/sxmcACM/p/3474784.html