Date: Wed, 16 Jun 2004 23:06:02 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 55112 for review Message-ID: <200406162306.i5GN62YM071192@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406162306.i5GN62YM071192>