From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1904 invoked by alias); 1 Dec 2007 18:58:18 -0000 Received: (qmail 1895 invoked by uid 22791); 1 Dec 2007 18:58:18 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 01 Dec 2007 18:58:12 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 9166E98249; Sat, 1 Dec 2007 18:58:10 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 7220198248; Sat, 1 Dec 2007 18:58:10 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IyXXV-0006SA-Gx; Sat, 01 Dec 2007 13:58:09 -0500 Date: Sat, 01 Dec 2007 18:58:00 -0000 From: Daniel Jacobowitz To: Pedro Alves Cc: gdb-patches@sourceware.org, Lerele Subject: Re: [gdbserver/win32] (5/11) New interrupting method : elevating the priority Message-ID: <20071201185809.GD24231@caradoc.them.org> Mail-Followup-To: Pedro Alves , gdb-patches@sourceware.org, Lerele References: <4737B563.4070909@portugalmail.pt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4737B563.4070909@portugalmail.pt> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00019.txt.bz2 On Mon, Nov 12, 2007 at 02:07:31AM +0000, Pedro Alves wrote: > 2007-11-12 Leo Zayas > Pedro Alves > > * win32-low.c (winapi_SetProcessPriorityBoost) > (winapi_GetProcessPriorityBoost, winapi_SetProcessAffinityMask) > [!_WIN32_WCE]: New typedefs. > (interrupt_thread_event) [!_WIN32_WCE]: New global. > (consume_cpu_interrupt_thread) [!_WIN32_WCE]: New. > (realtime_execute) [!_WIN32_WCE]: New. > (winapi_CeSetThreadPriority, winapi_CeGetThreadPriority) > [_WIN32_WCE]: New typedefs. > (realtime_execute) [_WIN32_WCE]: New. > (do_continue_one_thread): New. > (child_continue): If continuing with a faked breakpoint, do the > thread resuming with higher priority, and don't call > ContinueDebugEvent. > (suspend_all_threads): New. > (fake_breakpoint_event): Do the thread suspending with higher > priority. I'm just going to have to trust you on this one. It looks fine. -- Daniel Jacobowitz CodeSourcery