PERFORCE change 55112 for review
Marcel Moolenaar
marcel at FreeBSD.org
Wed Jun 16 23:06:05 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=55112
Change 55112 by marcel at 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);
More information about the p4-projects
mailing list