X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=GoekS
	TUkaqyI5dkUQ/eUQ24Vw1ktGqudoRHht92oL8HkNIu4wC/O1RN3aBzr0ZuYUBI4h
	WY2mUyZqYPcRQ7QfzhgeSW8fXGYCUo2eNAkOQx+1LIF5NNGxpmD043dPuoxcbmMw
	6S3o9BMY4fAB+H46vwWfFpB6EvDCyBeH/CIwiU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=IYrHe8/o+wJ
	umGEMGHvYiEaEnYA=; b=mlxHUYxlOYp/KJXHGv897bs3IK2Qplnpa64l2LAPFIt
	jBBHJfH2fHE87LX7u85wbMQwmVcR6zZI2O0kjth8+AbibwNQaj1LzSyPRNSjL/hu
	ZMEr1PJBoGa5IMcMCOPPPnidNlO/xTxQ3jnBMxXjGGaJZ5mwFybGhnZsIDPzQ/Wo
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=wave, neuron, JSON, multi-threaded
X-HELO: mail-in-06.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3qNSMm3lc5z2hJ9
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Latest perl JSON::XS failing when threaded
References: <CAHSx_SvqC+ajoCQ01S+j8wrwqG0B=m0mK5O+o4PQyS-THBWSYQ@mail.gmail.com>
Date: Sun, 13 Mar 2016 18:21:04 +0100
In-Reply-To: <CAHSx_SvqC+ajoCQ01S+j8wrwqG0B=m0mK5O+o4PQyS-THBWSYQ@mail.gmail.com>	(Wayne Davison's message of "Thu, 3 Mar 2016 15:54:29 -0800")
Message-ID: <87ziu2e1kv.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Wayne Davison writes:
> I updated cygwin today, and now perl JSON::XS fails to be able to
> decode json data if it is run in a multi-threaded script.

As said before, the use of JSON::XS with threads is not supported by
upstream.  That said, I've found a patch at least for the scenario that
your test case uses.  Some situations would have degraded performance,
however, although these have seemingly not been supported in earlier
versions of JSON::XS, so no regressions in existing code are expected to
occur.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

