From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 464951F601 for ; Tue, 6 Sep 2022 22:35:48 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=80x24.org header.i=@80x24.org header.b="g4QECyB4"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229851AbiIFWfk (ORCPT ); Tue, 6 Sep 2022 18:35:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbiIFWfi (ORCPT ); Tue, 6 Sep 2022 18:35:38 -0400 Received: from dcvr.yhbt.net (dcvr.yhbt.net [173.255.242.215]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BF7E8C021 for ; Tue, 6 Sep 2022 15:35:38 -0700 (PDT) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 287711F54E; Tue, 6 Sep 2022 22:35:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1662503738; bh=yWr9jAho/vkSCgCUuMzHVhRn3TlepDQfTvhXEeVj8+Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g4QECyB46jq7bJHRI/PTfVb/01eo1BlZry6MlkTPGwK/MKIObHrhDb7Cx4/iD0bh4 j8+hiQRxAC7D1bUqC9O9S9tRLECeQXFwNlHt9k2qBkyK3phN+RekfEF6nw0EvAKqAt y2NIg5VnK7+9V5FLuf0LVGVoqPfSYavT1ojXg1kE= Date: Tue, 6 Sep 2022 22:35:37 +0000 From: Eric Wong To: Eric Sunshine via GitGitGadget Cc: git@vger.kernel.org, Jeff King , Elijah Newren , =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , Fabian Stelzer , Johannes Schindelin , Eric Sunshine Subject: Re: [PATCH 06/18] chainlint.pl: validate test scripts in parallel Message-ID: <20220906223537.M956576@dcvr> References: <62fc652eb47a4df83d88a197e376f28dbbab3b52.1661992197.git.gitgitgadget@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <62fc652eb47a4df83d88a197e376f28dbbab3b52.1661992197.git.gitgitgadget@gmail.com> Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Eric Sunshine via GitGitGadget wrote: > +unless ($Config{useithreads} && eval { > + require threads; threads->import(); Fwiw, the threads(3perl) manpage has this since 2014: The use of interpreter-based threads in perl is officially discouraged. I was bummed, too :< but I've decided it wasn't worth the effort to deal with the problems threads could cause down the line in future Perl versions. For example, common libraries like File::Temp will chdir behind-the-scenes which is thread-unsafe. (of course I only care about *BSD and Linux on MMU hardware, so I use SOCK_SEQPACKET and fork() freely :>)