aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/tst-cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/tst-cancel.c')
-rw-r--r--linuxthreads/tst-cancel.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/linuxthreads/tst-cancel.c b/linuxthreads/tst-cancel.c
index 84b8197e42..8f2d307c9b 100644
--- a/linuxthreads/tst-cancel.c
+++ b/linuxthreads/tst-cancel.c
@@ -25,15 +25,6 @@ cleanup (void *arg)
}
-volatile int cleanupokcnt;
-
-static void
-cleanupok (void *arg)
-{
- ++cleanupokcnt;
-}
-
-
static void *
t1 (void *arg)
{
@@ -63,6 +54,16 @@ t2 (void *arg)
}
+/* This does not work yet. */
+volatile int cleanupokcnt;
+
+static void
+cleanupok (void *arg)
+{
+ ++cleanupokcnt;
+}
+
+
static void
innerok (int a)
{