From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17938 invoked by alias); 7 Sep 2010 21:34:36 -0000 Received: (qmail 17881 invoked by uid 22791); 7 Sep 2010 21:34:35 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Sep 2010 21:34:30 +0000 Received: (qmail 16732 invoked from network); 7 Sep 2010 21:34:28 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Sep 2010 21:34:28 -0000 Date: Tue, 07 Sep 2010 21:34:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Nenad Vukicevic , gdb@sourceware.org Subject: Re: multi-{inferior,exec} Message-ID: <20100907213421.GA21182@caradoc.them.org> Mail-Followup-To: Tom Tromey , Nenad Vukicevic , gdb@sourceware.org References: <4C83D050.7010903@intrepid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00048.txt.bz2 On Tue, Sep 07, 2010 at 11:03:48AM -0600, Tom Tromey wrote: > This sounds like the "barrier" feature in HPD. > A patch for this would be interesting, too. > > I am curious though -- what is it useful for? Think about this in terms of, for example, automatically parallelized OpenMP code. If you have a parallel region, it's handy to examine all threads at that point. I don't know if this would work better in UPC than it would in OpenMP though; you can have code executed in only some threads... -- Daniel Jacobowitz CodeSourcery