From owner-p4-projects@FreeBSD.ORG Wed Jun 16 23:06:05 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id CFF2816A4D0; Wed, 16 Jun 2004 23:06:04 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAC1D16A4CE for ; Wed, 16 Jun 2004 23:06:04 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4F3743D58 for ; Wed, 16 Jun 2004 23:06:04 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5GN637N071195 for ; Wed, 16 Jun 2004 23:06:03 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5GN62YM071192 for perforce@freebsd.org; Wed, 16 Jun 2004 23:06:02 GMT (envelope-from marcel@freebsd.org) Date: Wed, 16 Jun 2004 23:06:02 GMT Message-Id: <200406162306.i5GN62YM071192@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 55112 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 23:06:05 -0000 http://perforce.freebsd.org/chv.cgi?CH=55112 Change 55112 by marcel@marcel_nfs on 2004/06/16 23:05:20 Retype td_tid from an int to a lwpid_t. Affected files ... .. //depot/projects/gdb/sys/sys/proc.h#17 edit Differences ... ==== //depot/projects/gdb/sys/sys/proc.h#17 (text+ko) ==== @@ -264,7 +264,7 @@ TAILQ_HEAD(, selinfo) td_selq; /* (p) List of selinfos. */ struct sleepqueue *td_sleepqueue; /* (k) Associated sleep queue. */ struct turnstile *td_turnstile; /* (k) Associated turnstile. */ - int td_tid; /* (b) Thread ID. */ + lwpid_t td_tid; /* (b) Thread ID. */ /* Cleared during fork1() or thread_sched_upcall(). */ #define td_startzero td_flags @@ -903,7 +903,7 @@ int thread_export_context(struct thread *td, int willexit); void thread_free(struct thread *td); void thread_link(struct thread *td, struct ksegrp *kg); -int thread_new_tid(void); +lwpid_t thread_new_tid(void); void thread_reap(void); struct thread *thread_schedule_upcall(struct thread *td, struct kse_upcall *ku); int thread_single(int how);