On Thu, Apr 24, 2014 at 9:01 AM, Ben Gamari <[email protected]> wrote:

> Unfortunately this replaces the ugly possibility of unpredictable
> crashes with the slightly less ugly possiblity of unpredictable
> deadlocks if we run out of stack in the middle of execution. Perhaps
> threads could be annotated with their maximum expected stack size,
> allowing stack chunks to be allocated at spawn-time.
>

It wouldn't be allowed to grow, it's exactly that — maximum expected stack
size, task either fits in there or dies.


-- 
Sincerely,
Vladimir "Farcaller" Pouzanov
http://farcaller.net/
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to