PERFORCE change 67996 for review

David Xu davidxu at FreeBSD.org
Fri Dec 31 07:11:32 PST 2004


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

Change 67996 by davidxu at davidxu_tiger on 2004/12/31 15:11:03

	use thr_kill kernel api.

Affected files ...

.. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_kill.c#2 edit

Differences ...

==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_kill.c#2 (text+ko) ====

@@ -57,7 +57,7 @@
 	    == 0) {
 		if ((sig > 0) &&
 		    (_thread_sigact[sig - 1].sa_handler != SIG_IGN))
-			_thr_sig_send(pthread, sig);
+			thr_kill(pthread->tid, sig);
 		_thr_ref_delete(curthread, pthread);
 	}
 


More information about the p4-projects mailing list