From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32678 invoked by alias); 13 Mar 2016 17:21:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32663 invoked by uid 89); 13 Mar 2016 17:21:23 -0000 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 Received: from mail-in-06.arcor-online.net (HELO mail-in-06.arcor-online.net) (151.189.21.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sun, 13 Mar 2016 17:21:13 +0000 Received: from mail-in-17-z2.arcor-online.net (mail-in-17-z2.arcor-online.net [151.189.8.34]) by mx.arcor.de (Postfix) with ESMTP id 3qNSMn1WByz7llq for ; Sun, 13 Mar 2016 18:21:09 +0100 (CET) Received: from mail-in-17.arcor-online.net (mail-in-17.arcor-online.net [151.189.21.57]) by mail-in-17-z2.arcor-online.net (Postfix) with ESMTP id C968F1116CC for ; Sun, 13 Mar 2016 18:21:08 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 3qNSMm3lc5z2hJ9 Received: from Gertrud (p54B46F42.dip0.t-ipconnect.de [84.180.111.66]) (Authenticated sender: stromeko@arcor.de) by mail-in-17.arcor-online.net (Postfix) with ESMTPSA id 3qNSMm3lc5z2hJ9 for ; Sun, 13 Mar 2016 18:21:08 +0100 (CET) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Latest perl JSON::XS failing when threaded References: Date: Sun, 13 Mar 2016 17:21:00 -0000 In-Reply-To: (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 X-SW-Source: 2016-03/txt/msg00204.txt.bz2 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