From: Bart Schaefer <schaefer@brasslantern.com>
To: Sebastian Gniazdowski <psprint@zdharma.org>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Loading Eprog in other thread doesn't work
Date: Mon, 19 Jun 2017 23:02:06 -0700 [thread overview]
Message-ID: <CAH+w=7ZamTAxOkJ_M6KWjvFF_r53=yLZP7FzMcEyy9=6RV9G2A@mail.gmail.com> (raw)
In-Reply-To: <etPan.5948a67b.da2f7e3.63ea@zdharma.org>
On Mon, Jun 19, 2017 at 9:37 PM, Sebastian Gniazdowski
<psprint@zdharma.org> 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.
next prev parent reply other threads:[~2017-06-20 6:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-19 14:37 Sebastian Gniazdowski
2017-06-19 20:12 ` Bart Schaefer
2017-06-20 4:37 ` Sebastian Gniazdowski
2017-06-20 6:02 ` Bart Schaefer [this message]
[not found] ` <etPan.59483072.5b1b299a.63ea@AirmailxGenerated.am>
2017-06-20 2:42 ` Sebastian Gniazdowski
2017-06-20 5:59 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7ZamTAxOkJ_M6KWjvFF_r53=yLZP7FzMcEyy9=6RV9G2A@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=psprint@zdharma.org \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).