summaryrefslogtreecommitdiff
path: root/sysdeps/l4/pt-docancel.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2004-03-18 02:44:20 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-04-06 22:16:47 +0200
commitef01119ea9239c3e91c33dc3b51bb059eb621677 (patch)
treee2d13d56fbd0b59e959efc8b0f6bda8fca63b2ed /sysdeps/l4/pt-docancel.c
parentcb62fb204d22daea8ec0367c7590f32116276aa7 (diff)
2004-03-17 Marcus Brinkmann <marcus@gnu.org>
* libpthread: New directory, populated with Neal H. Walfields pthread implementation.
Diffstat (limited to 'sysdeps/l4/pt-docancel.c')
-rw-r--r--sysdeps/l4/pt-docancel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/l4/pt-docancel.c b/sysdeps/l4/pt-docancel.c
index 9a3bb26..e832e26 100644
--- a/sysdeps/l4/pt-docancel.c
+++ b/sysdeps/l4/pt-docancel.c
@@ -30,6 +30,7 @@ call_exit (void)
int
__pthread_do_cancel (struct __pthread *p)
{
+#if 0
assert (p->cancel_pending = 1);
assert (p->cancel_state == PTHREAD_CANCEL_ENABLE);
@@ -46,6 +47,6 @@ __pthread_do_cancel (struct __pthread *p)
&dummy, &dummy, &dummy, &dummy, &dummy,
&dummy_id);
}
-
+#endif
return 0;
}