Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Loading Eprog in other thread doesn't work
- X-seq: zsh-workers 41331
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>
- Subject: Re: Loading Eprog in other thread doesn't work
- Date: Mon, 19 Jun 2017 23:02:06 -0700
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pFzOBwPn5E01stcwMejsbX/cK3SXIskIJ3UAxKEjgYo=; b=TGRoM89tXgof6UrQA7xWJMfFUWDtPBvrZYjS2JidVJ8gkxROrYovXVNsmQCHXd4jTL +hpWJbNkA9fXSb9rFgBDXFqgWQnuMNqUE82nZUZ2HEHWpdDWLS/1Y5aWMTo1bKS5q6h1 O9RrKKlJxZlwAG2KTl2GVS7K7/HhcJXbkAz7WDFM97u0JNl3Xl4rdPOLVfUxilGUFMIb cXFHmyQUkWCIDSGC+aVDmGpx7inT6zT0zSZ9lwMctp1OArIG+94Sbt04yLQeWCEcnwxV 0kF6zFlU/vzGYT/8dOK0mdP5CTCqWCdUaZ9Y5iVEwsCyiw4IKkpviBFXneRhy//avJns HXcA==
- In-reply-to: <etPan.5948a67b.da2f7e3.63ea@zdharma.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <etPan.5947e1be.54594545.63ea@zdharma.org> <CAH+w=7YBKMffROA=so+WSP97U=Zn-oSAWM6mA3o1_C_hBCiqow@mail.gmail.com> <etPan.5948a67b.da2f7e3.63ea@zdharma.org>
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