Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Loading Eprog in other thread doesn't work



On Mon, Jun 19, 2017 at 9:37 PM, Sebastian Gniazdowski
<psprint@xxxxxxxxxxx> wrote:
> PS. Found the reason of instability – the background-loading code did zhalloc. After replacing with zalloc things are stable.

Even zalloc() is only signal-safe, not really thread-safe.  I wouldn't
be surprised to find there's still some command you might run in the
main thread that messes this up.



Messages sorted by: Reverse Date, Date, Thread, Author