ITeye博客

call_stack 与 call_frame

lancelotwjq · 2013-02-28 10:04 · glusterfs · 开源软件 · Markdown

call_stack由一个或多个call_frame组成。

 

Each call_frame corresponds to a call to a subroutine which has not yet terminated with a return. For example, if a subroutine named DrawLine is currently running, having been called by a subroutine DrawSquare, the top part of the call stack might be laid out like this:

 上图就是一个call_stack, 它由两个call_frame组成。

 

参考:http://en.wikipedia.org/wiki/Call_stack

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。