From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24907 invoked by alias); 14 Jun 2012 20:21:59 -0000 Received: (qmail 24888 invoked by uid 595); 14 Jun 2012 20:21:58 -0000 Date: Thu, 14 Jun 2012 20:21:00 -0000 Message-ID: <20120614202158.24886.qmail@sourceware.org> From: kevinb@sourceware.org To: src-cvs@sourceware.org Subject: src/rda/unix ChangeLog lwp-pool.c lwp-pool.h t ... Mailing-List: contact src-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: src-cvs-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00015.txt.bz2 CVSROOT: /cvs/src Module name: src Changes by: kevinb@sourceware.org 2012-06-14 20:21:58 Modified files: rda/unix : ChangeLog lwp-pool.c lwp-pool.h thread-db.c Log message: * lwp-pool.c (struct lwp): Add new field `disabled'. (empty_lwp_slot): New static global. (hash_empty_slot, resize_hash, lwp_pool_stop_all) (lwp_pool_continue_all, clear_all_do_step_flags) (hash_find): Rename to hash_find_1. Add parameter `create_p'. Initialize `disabled' field. (hash_find, hash_find_no_create, lwp_pool_disable_lwp) (lwp_pool_enable_lwp): New functions. (hash_delete): Revise method used for deleting a slot from the hash table. (lwp_pool_continue_all): Don't continue disabled LWPs. (lwp_pool_continue_lwp): Print a warning instead of an error, and then only when LWP Pool diagnostics are enabled when attempting to continue a LWP with the state of lwp_state_stopped_stop_pending_interesting. * lwp-pool.h (lwp_pool_disable_lwp, lwp_pool_enable_lwp): Declare. * thread-db.c (find_new_threads_callback): Adjust thread deletion / reuse message. (update_thread_list): Disable continuation of zombie threads. (thread_db_break_program): Enable diagnostic message for "monitor thread-db-noisy". Use kill_lwp() instead of kill(). (thread_db_check_child_state): Don't stop on signals from zombie threads. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/rda/unix/ChangeLog.diff?cvsroot=src&r1=1.67&r2=1.68 http://sourceware.org/cgi-bin/cvsweb.cgi/src/rda/unix/lwp-pool.c.diff?cvsroot=src&r1=1.7&r2=1.8 http://sourceware.org/cgi-bin/cvsweb.cgi/src/rda/unix/lwp-pool.h.diff?cvsroot=src&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/rda/unix/thread-db.c.diff?cvsroot=src&r1=1.21&r2=1.22