PERFORCE change 74705 for review

David Xu davidxu at FreeBSD.org
Thu Apr 7 19:02:25 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=74705

Change 74705 by davidxu at 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;
 		}


More information about the p4-projects mailing list