[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Thank you (was Lua 5.4 bug with coroutines)
- From: 孙世龙 sunshilong <sunshilong369@...>
- Date: Tue, 10 Nov 2020 09:58:26 +0800
Hi, Wilfred Nilsen
I am porting Lua to an RTOS, too.
>With an RTOS, the thread's stack size is usually set in kilobytes and 20Kb works fine with older versions of Lua.
Order versions? Could you list the versions that you have tested?
>With an RTOS, the thread's stack size is usually set in kilobytes and 20Kb.
The thread's stack size could be manually set. So I don't think it's a
serious problem.
Best regards
Sunshilong
On Tue, Nov 10, 2020 at 9:38 AM Wilfred Nilsen <realtimelogic@gmail.com> wrote:
>
>
> I just wanted to say tank you in regards to the following:
>
> See the function debug.setcstacklimit. You probably has to set a
> larger C stack. (Or wait for 5.4.2; we are reversing back to a
> stackless implementation, which uses less C-stack space.)
>
>
> I was concerned that new versions of Lua could no longer be used in embedded devices. With an RTOS, the thread's stack size is usually set in kilobytes and 20Kb works fine with older versions of Lua.
>
> -W
>
>