lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Jan 26, 2020 at 12:24 PM Viacheslav Usov <via.usov@gmail.com> wrote:
> On Sun, Jan 26, 2020 at 7:05 PM Archie Cobbs <archie.cobbs@gmail.com> wrote:
> > Moreover, there is a solution to this problem which relies on a very minimal set of "extra capabilities".
> > Ref: https://www.gnu.org/software/pth/pth-manual.html#implementation_notes
>
> Quoting from there:
>
> On the other hand, it cannot benefit from the existence of multiprocessors, because for this, kernel support would be needed. In practice, this is no problem, because multiprocessor systems are rare, and portability is almost more important than highest concurrency.
>
> (end quote)
>
> That is seriously crazy, in 2020. Is this just the docs that are not up-to-date, or is this really something that still works that way?

Yes that text is seriously out of date :) And yes that's indeed how
pth works... it intentionally does not support or provide for parallel
execution.

However, parallel execution is not relevant to what I'm proposing,
which doesn't intend to change Lua's "single threaded" nature.

-Archie

-- 
Archie L. Cobbs