我们知道每个线程都有自己的堆栈。这些堆栈分配在哪里?我读了一些文档,似乎堆栈是在创建线程时从堆中分配的。这有道理吗?提前致谢!
c memory multithreading stack-memory
c ×1
memory ×1
multithreading ×1
stack-memory ×1