lua-users home
lua-l archive

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


On 3 April 2015 at 22:10, William Ahern <william@25thandclement.com> wrote:
> Use libpthread.so.0 for Linux/glibc. See the getpth routine in the runlua
> script for the library name to load on other systems. Solaris, OS X, and
> Linux/musl have unified libc/libphread implementations.
>
> Long-term I think it would be better if Lua packagers linked the system
> interpreter with -lpthread. It's what Perl, Ruby, Python, and Node.js do.

Which would also solve this age-old problem with gdb:
http://stackoverflow.com/q/2702628/15996

Regards,
Matthew