Make thread suspension really work.
[dragonfly.git] / lib / libthread_xu / thread / thr_resume_np.c
index 77a39cd..de69e08 100644 (file)
@@ -30,7 +30,7 @@
  * SUCH DAMAGE.
  *
  * $FreeBSD: src/lib/libpthread/thread/thr_resume_np.c,v 1.18 2003/07/23 02:11:07 deischen Exp $
- * $DragonFly: src/lib/libthread_xu/thread/thr_resume_np.c,v 1.2 2005/03/29 19:26:20 joerg Exp $
+ * $DragonFly: src/lib/libthread_xu/thread/thr_resume_np.c,v 1.3 2006/03/19 13:07:12 davidxu Exp $
  */
 
 #include <machine/tls.h>
@@ -90,5 +90,4 @@ resume_common(struct pthread *thread)
        thread->flags &= ~THR_FLAGS_NEED_SUSPEND;
        thread->cycle++;
        _thr_umtx_wake(&thread->cycle, 1);
-       _thr_send_sig(thread, SIGCANCEL);
 }