Call stack mechanism

Jarrett Billingsley jarrett.billingsley at gmail.com
Fri Aug 14 13:26:37 PDT 2009


On Fri, Aug 14, 2009 at 3:44 PM, Joshua Moore-Oliva<josh at chatgris.com> wrote:
> I am doing research on multi-threaded call stack mechanisms, and in addition to academic papers, I am surveying what mechanisms existing languages use. Does D use a mechanism other than the standard C-pthread style "one stack is allocated on thread creation for each thread, and if that space is exhausted it is considered an error without recovery"? If so, could you detail your call stack mechanism?

That's pretty much it.

That being said, druntime and Tango's runtime (basically the same
thing..) also allow for the creation of Fibers, which are
cooperatively-scheduled threads of execution, as opposed to
preemptively-scheduled ones.  But they still work pretty much the same
way, by allocating a new stack.



More information about the Digitalmars-d mailing list