From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta034.useast.a.cloudfilter.net (omta034.useast.a.cloudfilter.net [44.202.169.33]) by sourceware.org (Postfix) with ESMTPS id 8AC663858D20 for ; Tue, 20 Feb 2024 15:47:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8AC663858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8AC663858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708444045; cv=none; b=JbsJpqG5KO41/KnFPcgl7CNQy9EetGN/RenTjWf8cRfrFhF0jZB9Xo8lC/ZmuGABWWkOq4S/KG7Y8Bh4RcxWt24aTRU7YgjgBDibo5qtuLblE9RUhhm2O0iVQYvsUo1a8AAIuE97RCJDJ8/M2sZkn0yTbFpzyZcHJUz2NPDeeKM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708444045; c=relaxed/simple; bh=aoqYUsoei9oV7TO5bXU6q9g4Ou6nODjQ2ICUiV/AoE8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=VtfYuK24IE6cgS1q7KLvhbruNZ/lPLFGHmhF1aW6kfYpGFZxACy0z6X1v9I7D4vApmcKGrPZDhlFuEJDQLiOfpCMosVynOaQqgtjmPKNlVF9sF9z23CtklZhvOCaS6Kxa3gN+FrdVGq7GPyPEOTXNKnVxnJNENn59AvT7UhqzrE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6001a.ext.cloudfilter.net ([10.0.30.140]) by cmsmtp with ESMTPS id cRbLrwbGLAxAkcSL5rKAx6; Tue, 20 Feb 2024 15:47:23 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id cSL4ripadFgIvcSL4rlgqK; Tue, 20 Feb 2024 15:47:22 +0000 X-Authority-Analysis: v=2.4 cv=ba3IU/PB c=1 sm=1 tr=0 ts=65d4c98a a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=k7vzHIieQBIA:10 a=Qbun_eYptAEA:10 a=zstS-IiYAAAA:8 a=7TbirJkc6E8dKC_qLnoA:9 a=4G6NA9xxw8l3yy4pmD5M:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=eWkO0okUX1NV5LBarTu5nSCuG/WgvOOtqa5j9tLod08=; b=iPNf8OA4XMwrRjAOyL/M3fe7Ko yXgL8uu6mQkv7WbPNG7PYuaBPhXEiHEdpwzrzvohL/ICJd16cqL3IXEam+RiGCFV78c4jJXKsmGGo FYPlU7XmCu6gaaJSKveKG/xBa; Received: from 71-211-170-195.hlrn.qwest.net ([71.211.170.195]:49164 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rcSL4-0040ae-0Q; Tue, 20 Feb 2024 08:47:22 -0700 From: Tom Tromey To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 7/8] [gdb/dap] Join JSON reader and writer threads with DAP thread References: <20240219082341.21313-1-tdevries@suse.de> <20240219082341.21313-7-tdevries@suse.de> X-Attribution: Tom Date: Tue, 20 Feb 2024 08:47:20 -0700 In-Reply-To: <20240219082341.21313-7-tdevries@suse.de> (Tom de Vries's message of "Mon, 19 Feb 2024 09:23:40 +0100") Message-ID: <871q972l4n.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.170.195 X-Source-L: No X-Exim-ID: 1rcSL4-0040ae-0Q X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-170-195.hlrn.qwest.net (murgatroyd) [71.211.170.195]:49164 X-Source-Auth: tom+tromey.com X-Email-Count: 16 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfKUr/wcmol5TDqrxhcIesh8GC7W4ndVFAxuZVsTyfNTPekg8zd3/83SBsnBgz4Ntj1Qy6hkABioIKe4Pcl6aDDk/z8JokCIWk0aIcQP0HW+R3nWC7nRz msoYQwK9JwSi7e8CRm4ArESnu1ej1tAM5KNMllqB+udFuOyM78Wn6eszyRoBCXNovFa1SR+b/+TdhZOX+82JqGPZGeRH28zS5mA= X-Spam-Status: No, score=-3016.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom de Vries writes: Tom> The DAP interpreter runs in its own thread, and starts a few threads: Tom> - the JSON reader thread, Tom> - the JSON writer thread, and Tom> - the inferior output reader thread. I didn't realize you can join a daemonic Python thread. In other thread systems you can't join such threads. Anyway this is ok. Thanks. Approved-By: Tom Tromey Tom