From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13037 invoked by alias); 8 Jan 2003 01:00:39 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13030 invoked from network); 8 Jan 2003 01:00:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by 209.249.29.67 with SMTP; 8 Jan 2003 01:00:38 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h080WlB20535 for ; Tue, 7 Jan 2003 19:32:47 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h0810Qn27991 for ; Tue, 7 Jan 2003 20:00:26 -0500 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h0810Pn22473 for ; Tue, 7 Jan 2003 17:00:25 -0800 Message-ID: <3E1B7829.6B6E8BAF@redhat.com> Date: Wed, 08 Jan 2003 01:00:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: threads and target-function-calls Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00312.txt.bz2 Hey folks, Did you know that (at least on x86 linux), if you have a multi-thread program and you execute a target function call, all the threads get to run? Doesn't that seem like a bad thing? Wouldn't we really rather only run the thread that is executing the target function call? Michael