Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2005 02:02:23 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 74705 for review
Message-ID:  <200504080202.j3822Ni0001457@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=74705

Change 74705 by davidxu@davidxu_celeron on 2005/04/08 02:01:36

	structure member terminated is gone.

Affected files ...

.. //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_list.c#3 edit

Differences ...

==== //depot/projects/davidxu_thread/src/lib/libthr/thread/thr_list.c#3 (text+ko) ====

@@ -99,7 +99,7 @@
 	/* Check the threads waiting for GC. */
 	for (td = TAILQ_FIRST(&_thread_gc_list); td != NULL; td = td_next) {
 		td_next = TAILQ_NEXT(td, gcle);
-		if (td->terminated == 0) {
+		if (td->tid != TID_TERMINATED) {
 			/* make sure we are not still in userland */
 			continue;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504080202.j3822Ni0001457>