summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/cancellation.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:26:01 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-21 04:26:01 +0000
commit4bdddc9cbfda2acc3da87f7565baca9307ab92f7 (patch)
treeddbbc7e72d72bf78d80f000163011d0c36a07aea /libpthread/nptl/cancellation.c
parentc1a6053c890d37c25fce66ffc65a4ede77093ee0 (diff)
downloaduClibc-alpine-4bdddc9cbfda2acc3da87f7565baca9307ab92f7.tar.bz2
uClibc-alpine-4bdddc9cbfda2acc3da87f7565baca9307ab92f7.tar.xz
Finally check in all the changes I made for NPTL library proper.
Diffstat (limited to 'libpthread/nptl/cancellation.c')
-rw-r--r--libpthread/nptl/cancellation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/nptl/cancellation.c b/libpthread/nptl/cancellation.c
index 1d28d383f..59e16b9e1 100644
--- a/libpthread/nptl/cancellation.c
+++ b/libpthread/nptl/cancellation.c
@@ -32,6 +32,7 @@ __pthread_enable_asynccancel (void)
struct pthread *self = THREAD_SELF;
int oldval = THREAD_GETMEM (self, cancelhandling);
+//printf("%s\n", __FUNCTION__);
while (1)
{
int newval = oldval | CANCELTYPE_BITMASK;
@@ -64,6 +65,7 @@ void
internal_function attribute_hidden
__pthread_disable_asynccancel (int oldtype)
{
+//printf("%s\n", __FUNCTION__);
/* If asynchronous cancellation was enabled before we do not have
anything to do. */
if (oldtype & CANCELTYPE_BITMASK)