[LLVMdev] Erlang
John Regehr
regehr at cs.utah.edu
Fri Jul 25 10:13:13 PDT 2008
> I knew protothreads, but I still have to figure out the limitations
> resulting from the fact that local variables are not preserved when
> the protothread blocks. Is protothreads library able to keep a bunch
> of living threads during program's life that exchange data through
> message passing?
I would recommend against stackless threads. If you really can't afford a
few KB per stack, go with an event-driven execution model where events run
to completion.
John
More information about the llvm-dev
mailing list