summaryrefslogtreecommitdiff
path: root/threading_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'threading_pthread.c')
-rw-r--r--threading_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threading_pthread.c b/threading_pthread.c
index 00712266..66db5844 100644
--- a/threading_pthread.c
+++ b/threading_pthread.c
@@ -40,7 +40,7 @@ thread_start (void (*fn)(void *ctx), void *ctx) {
s = pthread_attr_destroy (&attr);
if (s != 0) {
fprintf (stderr, "pthread_attr_destroy failed: %s\n", strerror (s));
- pthread_cancel (tid);
+// pthread_cancel (tid); // missing on android
return 0;
}
return tid;